make lastwastab and list use TRUE and FALSE instead of 1 and 0, make
them bools in the process, and make a few other minor cosmetic cleanups


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1880 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
diff --git a/src/winio.c b/src/winio.c
index 65345b9..eb8a961 100644
--- a/src/winio.c
+++ b/src/winio.c
@@ -1536,7 +1536,7 @@
 #endif
 		const shortcut *s
 #ifndef DISABLE_TABCOMP
-		, int *list
+		, bool *list
 #endif
 		)
 {
@@ -1546,7 +1546,7 @@
 	/* the cursor position in 'answer' */
     int xend;
 	/* length of 'answer', the status bar text */
-    int tabbed = 0;
+    bool tabbed = FALSE;
 	/* used by input_tab() */
     const shortcut *t;
 
@@ -1630,7 +1630,7 @@
 	assert(0 <= x && x <= xend && xend == strlen(answer));
 
 	if (kbinput != '\t')
-	    tabbed = 0;
+	    tabbed = FALSE;
 
 	switch (kbinput) {
 #ifndef DISABLE_MOUSE
@@ -1820,7 +1820,7 @@
 		    fprintf(stderr, "Aha! \'%c\' (%d)\n", kbinput,
 			    kbinput);
 #endif
-		    if (meta_key == TRUE && (kbinput == t->metaval || kbinput == t->miscval))
+		    if (meta_key && (kbinput == t->metaval || kbinput == t->miscval))
 			/* We hit a meta key.  Do like above.  We don't
 			 * just ungetch() the letter and let it get
 			 * caught above cause that screws the
@@ -2744,7 +2744,7 @@
     char *foo = charalloc(COLS - 3);
     int ret;
 #ifndef DISABLE_TABCOMP
-    int list = 0;
+    bool list = FALSE;
 #endif
 
     bottombars(s);