From 532d55c8bd549c613e18f1c28290cf14de34fa7b Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Fri, 20 Mar 2015 11:37:53 +0000 Subject: [PATCH] Making a message equal to another one. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5142 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 4 +++- src/text.c | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 697a36a9..88aa5458 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,9 @@ 2015-03-20 Benno Schulenberg - * 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 * src/text.c (do_alt_speller): Do not set the modified flag when diff --git a/src/text.c b/src/text.c index b096fdba..9b2153e3 100644 --- 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