- nano.c:
main()
- Change the getop option to 'F' (David Lawrence Ramsey)
+- nano.h:
+ - Fix type in INSERTFILE_LIST_LEN.
- rcfile.c:
- Update for the multibuffer option (oops) (David Lawrence Ramsey).
+- search.c:
+ search_init()
+ - add #ifdef NANO_SMALL around toggles code.
nano-1.1.0 - 07/15/2001
- General
#define BROWSER_LIST_LEN 4
#else
#define WRITEFILE_LIST_LEN 3
-#define IMSERTFILE_LIST_LEN 1
+#define INSERTFILE_LIST_LEN 1
#endif
#define VIEW 1
*/
int search_init(int replacing)
{
- int i = 0, j;
+ int i = 0;
char *buf;
char *prompt;
static char *backupstring = NULL;
+#ifndef NANO_SMALL
+ int j;
+#endif
search_init_globals();
backupstring = NULL;
backupstring = mallocstrcpy(backupstring, answer);
+#ifndef NANO_SMALL
for (j = 0; j <= TOGGLE_LEN - 1; j++)
if (i == toggles[j].val)
TOGGLE(toggles[j].flag);
+#endif
return 1;
case NANO_OTHERSEARCH_KEY: