From: Benno Schulenberg Date: Fri, 20 Mar 2015 11:37:53 +0000 (+0000) Subject: Making a message equal to another one. X-Git-Tag: v2.4.0~8 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=532d55c8bd549c613e18f1c28290cf14de34fa7b;p=nano.git Making a message equal to another one. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5142 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- 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