Commit b56ca1b7 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

cosmetic fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2432 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 6 additions and 6 deletions
+6 -6
...@@ -2473,8 +2473,6 @@ int nanogetstr(bool allow_tabs, const char *buf, const char *def, ...@@ -2473,8 +2473,6 @@ int nanogetstr(bool allow_tabs, const char *buf, const char *def,
currshortcut = s; currshortcut = s;
/* Get the input! */
nanoget_repaint(buf, answer, statusbar_x); nanoget_repaint(buf, answer, statusbar_x);
/* Refresh the edit window before getting input. */ /* Refresh the edit window before getting input. */
...@@ -2619,6 +2617,7 @@ int nanogetstr(bool allow_tabs, const char *buf, const char *def, ...@@ -2619,6 +2617,7 @@ int nanogetstr(bool allow_tabs, const char *buf, const char *def,
#endif #endif
break; break;
} }
#ifndef NANO_SMALL #ifndef NANO_SMALL
last_kbinput = kbinput; last_kbinput = kbinput;
#endif #endif
...@@ -2640,7 +2639,8 @@ int nanogetstr(bool allow_tabs, const char *buf, const char *def, ...@@ -2640,7 +2639,8 @@ int nanogetstr(bool allow_tabs, const char *buf, const char *def,
* otherwise, the valid shortcut key caught. def is any editable text * otherwise, the valid shortcut key caught. def is any editable text
* we want to put up by default. * we want to put up by default.
* *
* New arg tabs tells whether or not to allow tab completion. */ * The allow_tabs parameter tells whether or not to allow tab
* completion. */
int statusq(bool allow_tabs, const shortcut *s, const char *def, int statusq(bool allow_tabs, const shortcut *s, const char *def,
#ifndef NANO_SMALL #ifndef NANO_SMALL
historyheadtype *which_history, historyheadtype *which_history,
...@@ -2690,9 +2690,9 @@ int statusq(bool allow_tabs, const shortcut *s, const char *def, ...@@ -2690,9 +2690,9 @@ int statusq(bool allow_tabs, const shortcut *s, const char *def,
#endif #endif
#ifndef DISABLE_TABCOMP #ifndef DISABLE_TABCOMP
/* if we've done tab completion, there might be a list of /* If we've done tab completion, there might be a list of
filename matches on the edit window at this point; make sure * filename matches on the edit window at this point. Make sure
they're cleared off. */ * that they're cleared off. */
if (list) if (list)
edit_refresh(); edit_refresh();
#endif #endif
......
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