From: Benno Schulenberg Date: Mon, 13 Apr 2015 10:59:12 +0000 (+0000) Subject: Fixing compilation with --enable-tiny (oops), and mentioning X-Git-Tag: v2.4.1~2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=fd759d5ca333197a49985286d3f4122b89288b06;p=nano.git Fixing compilation with --enable-tiny (oops), and mentioning also the Savannah page as a place for reporting bugs. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5195 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- 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