Commit d6c8d1a0 authored by Chris Allegretta's avatar Chris Allegretta
Browse files

- winio.c:nanogetstr - Move down NANO_SMALL in tab check so nano won't...

- winio.c:nanogetstr - Move down NANO_SMALL in tab check so nano won't complain if just NANO_SMALL is defined (David Benbennick, presumed fix)


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1371 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 3 additions and 1 deletion
+3 -1
...@@ -229,6 +229,8 @@ Changes ...@@ -229,6 +229,8 @@ Changes
Also fix minor problem with search history where the current Also fix minor problem with search history where the current
search item could be at the bottom of the history twice in a search item could be at the bottom of the history twice in a
row under certain conditions. (DLR) row under certain conditions. (DLR)
- Move down NANO_SMALL in tab check so nano won't complain if
just NANO_SMALL is defined (David Benbennick, presumed fix).
edit_refresh() edit_refresh()
- Miscellaneous cleanups that fix a bug where the screen - Miscellaneous cleanups that fix a bug where the screen
isn't updated after uncutting chunks of upwardly marked cut isn't updated after uncutting chunks of upwardly marked cut
......
...@@ -336,7 +336,6 @@ int nanogetstr(int allowtabs, const char *buf, const char *def, ...@@ -336,7 +336,6 @@ int nanogetstr(int allowtabs, const char *buf, const char *def,
#ifndef DISABLE_TABCOMP #ifndef DISABLE_TABCOMP
else { else {
#endif #endif
#endif
#ifndef DISABLE_TABCOMP #ifndef DISABLE_TABCOMP
if (allowtabs) { if (allowtabs) {
int shift = 0; int shift = 0;
...@@ -349,6 +348,7 @@ int nanogetstr(int allowtabs, const char *buf, const char *def, ...@@ -349,6 +348,7 @@ int nanogetstr(int allowtabs, const char *buf, const char *def,
} }
} }
#endif #endif
#endif /* NANO_SMALL */
break; break;
case KEY_LEFT: case KEY_LEFT:
case NANO_BACK_KEY: case NANO_BACK_KEY:
......
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