commit 532d55c8bd549c613e18f1c28290cf14de34fa7b
parent 3345e3407d3d373fdbd2ac2a5655ca566d9f94d2
Author: Benno Schulenberg <bensberg@justemail.net>
Date: Fri, 20 Mar 2015 11:37:53 +0000
Making a message equal to another one.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5142 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,7 +1,9 @@
2015-03-20 Benno Schulenberg <bensberg@justemail.net>
- * src/nao.c (finish_stdin_pager, cancel_stdin_pager, stdin_pager):
+ * src/nano.c (finish_stdin_pager, cancel_stdin_pager, stdin_pager):
Normalize the whitespace, remove an old comment, and place another
one better.
+ * src/text.c (do_undo): Make a message equal to another one. It
+ was mistakenly changed in r4950. (This is translation-neutral.)
2015-03-17 Benno Schulenberg <bensberg@justemail.net>
* src/text.c (do_alt_speller): Do not set the modified flag when
diff --git a/src/text.c b/src/text.c
@@ -442,7 +442,7 @@ void do_undo(void)
filestruct *f = fsfromline(u->mark_begin_lineno);
if (!f) {
- statusbar(_("Internal error: can't match line %ld. Please save your work."), (long)u->mark_begin_lineno);
+ statusbar(_("Internal error: can't match line %d. Please save your work."), u->mark_begin_lineno);
return;
}
#ifdef DEBUG