New function print1opt does most of the dirty work, stops
duplication of effort and eases translator's jobs. Also
breaks all the current translations ;-)
+- proto.h:
+ - Missing externs (Rocco).
- rcfile.c:
parse_rcfile()
- Don't use i for both for loop and atoi(), fixes lots of
potential crashes, 1st reported by Jean-Philippe Guérard.
+- search.c:
+ search_init()
+ - Fix a missing free (Rocco).
- utils.c:
stristr() - Defined regardless of NANO_SMALL (noticed by Jordi).
- po/sv.po:
extern int currslen;
#ifndef DISABLE_JUSTIFY
-char *quotestr;
+extern char *quotestr;
#endif
extern WINDOW *edit, *topwin, *bottomwin;
#endif
#ifdef ENABLE_COLOR
-colortype *colorstrings;
+extern colortype *colorstrings;
#endif
extern shortcut *shortcut_list;
replacing ? _(" (to replace)") : "",
buf);
+ /* Release buf now that we don't need it anymore */
+ free(buf);
+
/* Cancel any search, or just return with no previous search */
if ((i == -1) || (i < 0 && !last_search[0])) {
statusbar(_("Search Cancelled"));