Now make the code with with NANO_SMALL :-)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1336 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
63287926cb
commit
a65ba51b9e
2
search.c
2
search.c
|
@ -145,7 +145,9 @@ int search_init(int replacing)
|
||||||
/* NEW TEST */
|
/* NEW TEST */
|
||||||
if (ISSET(PICO_MODE)) {
|
if (ISSET(PICO_MODE)) {
|
||||||
backupstring = mallocstrcpy(backupstring, "");
|
backupstring = mallocstrcpy(backupstring, "");
|
||||||
|
#ifndef NANO_SMALL
|
||||||
search_history.current = (historytype *)&search_history.next;
|
search_history.current = (historytype *)&search_history.next;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
/* */
|
/* */
|
||||||
/* If using Pico messages, we do things the old fashioned way... */
|
/* If using Pico messages, we do things the old fashioned way... */
|
||||||
|
|
4
winio.c
4
winio.c
|
@ -456,7 +456,9 @@ int nanogetstr(int allowtabs, const char *buf, const char *def,
|
||||||
fprintf(stderr, _("input \'%c\' (%d)\n"), kbinput, kbinput);
|
fprintf(stderr, _("input \'%c\' (%d)\n"), kbinput, kbinput);
|
||||||
#endif
|
#endif
|
||||||
} /* switch (kbinput) */
|
} /* switch (kbinput) */
|
||||||
|
#ifndef NANO_SMALL
|
||||||
last_kbinput = kbinput;
|
last_kbinput = kbinput;
|
||||||
|
#endif
|
||||||
nanoget_repaint(buf, answer, x);
|
nanoget_repaint(buf, answer, x);
|
||||||
wrefresh(bottomwin);
|
wrefresh(bottomwin);
|
||||||
} /* while (kbinput ...) */
|
} /* while (kbinput ...) */
|
||||||
|
@ -551,10 +553,10 @@ void bottombars(const shortcut *s)
|
||||||
|
|
||||||
wmove(bottomwin, 1 + j, i * (COLS / numcols));
|
wmove(bottomwin, 1 + j, i * (COLS / numcols));
|
||||||
|
|
||||||
#ifndef NANO_SMALL
|
|
||||||
/* Yucky sentinel values we can't handle a better way */
|
/* Yucky sentinel values we can't handle a better way */
|
||||||
if (s->val == NANO_CONTROL_SPACE)
|
if (s->val == NANO_CONTROL_SPACE)
|
||||||
strcpy(keystr, "^ ");
|
strcpy(keystr, "^ ");
|
||||||
|
#ifndef NANO_SMALL
|
||||||
else if (s->val == KEY_UP)
|
else if (s->val == KEY_UP)
|
||||||
strcpy(keystr, _("Up"));
|
strcpy(keystr, _("Up"));
|
||||||
#endif /* NANO_SMALL */
|
#endif /* NANO_SMALL */
|
||||||
|
|
Loading…
Reference in New Issue