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

remove redundancy erroneously introduced when adding the ^T toggle to

the "Go To Line" prompt


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1963 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 4 additions and 6 deletions
+4 -6
...@@ -869,16 +869,14 @@ void do_gotoline(int line, bool save_pos) ...@@ -869,16 +869,14 @@ void do_gotoline(int line, bool save_pos)
free(ans); free(ans);
/* Cancel, or Enter with blank string. */ /* Cancel, or Enter with blank string. */
if (i < 0) if (i < 0) {
statusbar(_("Cancelled")); statusbar(_("Cancelled"));
display_main_list();
if (i == NANO_TOOTHERWHEREIS_KEY) {
do_search();
return; return;
} }
if (i != 0) { if (i == NANO_TOOTHERWHEREIS_KEY) {
display_main_list(); do_search();
return; 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