diff --git a/ChangeLog b/ChangeLog index 9b9827c0..f3e8273e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2015-04-13 Benno Schulenberg + * src/search.c (do_replace_loop): Fix compilation with --enable-tiny. + * README: Mention also the Savannah page for reporting bugs. + 2015-04-12 Benno Schulenberg * src/browser.c (filesearch_init): Stop M-\ and M-/ in WhereisFile menu (reached via ^R ^T ^W) from doing also an unrequested search diff --git a/README b/README index c0e7da6e..9fa2f032 100644 --- a/README +++ b/README @@ -60,7 +60,8 @@ Mailing Lists and Bug Reports subscribe to. For general bug reports, send a description of the problem to - nano@nano-editor.org or directly to the development list. + nano@nano-editor.org or to the development list, or file it on + the Savannah page (https://savannah.gnu.org/bugs/?group=nano). Current Status diff --git a/src/search.c b/src/search.c index 5c62cbd6..f96d6a9b 100644 --- a/src/search.c +++ b/src/search.c @@ -842,11 +842,11 @@ ssize_t do_replace_loop( if (*real_current_x < openfile->current_x + match_len) *real_current_x = openfile->current_x + match_len; *real_current_x += length_change; +#ifndef NANO_TINY bot_x = *real_current_x; } -#ifndef NANO_TINY - } #endif + } /* Set the cursor at the last character of the replacement * text, so searching will resume after the replacement