diff --git a/ChangeLog b/ChangeLog index dcdd2aed..06cf5707 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-11-05 David Lawrence Ramsey + + * search.c (do_gotolinecolumn): Use a clearer error message if + we enter an invalid line or column number, per Mike Melanson's + suggestion. + 2007-10-11 David Lawrence Ramsey * doc/man/nano.1, doc/man/fr/nano.1, doc/texinfo/nano.texi, diff --git a/src/search.c b/src/search.c index e7c4997c..e80d59a0 100644 --- a/src/search.c +++ b/src/search.c @@ -1012,7 +1012,7 @@ void do_gotolinecolumn(ssize_t line, ssize_t column, bool use_answer, if (!parse_line_column(answer, &line, &column) || line < 1 || column < 1) { if (i == 0) - statusbar(_("Come on, be reasonable")); + statusbar(_("Invalid line or column number")); display_main_list(); return; }