Commit 4fe5edbc authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

in do_gotolinecolumn(), use a clearer error message if we enter an

invalid line or column number, per Mike Melanson's suggestion


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4177 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 7 additions and 1 deletion
+7 -1
2007-11-05 David Lawrence Ramsey <pooka109@gmail.com>
* 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 <pooka109@gmail.com>
* doc/man/nano.1, doc/man/fr/nano.1, doc/texinfo/nano.texi,
......
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment