commit fd759d5ca333197a49985286d3f4122b89288b06
parent f34c8fdc6b8d2d6bfa35fabf426d6405c06db436
Author: Benno Schulenberg <bensberg@justemail.net>
Date: Mon, 13 Apr 2015 10:59:12 +0000
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
Diffstat:
3 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,7 @@
+2015-04-13 Benno Schulenberg <bensberg@justemail.net>
+ * 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 <bensberg@justemail.net>
* 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
@@ -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
@@ -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