]> git.deb.at Git - pkg/abook.git/commitdiff
some int -> bool changes
authorJaakko Heinonen <jheinonen@users.sourceforge.net>
Sun, 10 Feb 2002 10:27:59 +0000 (10:27 +0000)
committerJaakko Heinonen <jheinonen@users.sourceforge.net>
Sun, 10 Feb 2002 10:27:59 +0000 (10:27 +0000)
abook.c
filter.c
ui.c

diff --git a/abook.c b/abook.c
index 4808dac37abf7e10ea3c05569cc025f53e10f2f6..da165382683649f3fb596b1e13e285c8e4ce5a1d 100644 (file)
--- a/abook.c
+++ b/abook.c
@@ -45,8 +45,8 @@ static void           add_email(int);
 char *datafile = NULL;
 char *rcfile = NULL;
 
-int alternative_datafile = FALSE;
-int alternative_rcfile = FALSE;
+bool alternative_datafile = FALSE;
+bool alternative_rcfile = FALSE;
 
 static int
 datafile_writeable()
index 1d42a28bde23df9c3f89e3c0fce323e93d03c1d1..4a537b946de43d08a9a2892f7381f3a150a8b64f 100644 (file)
--- a/filter.c
+++ b/filter.c
@@ -1104,7 +1104,7 @@ csv_parse_line(char *line)
 {
        char *p, *start;
        int field;
-       int in_quote = FALSE;
+       bool in_quote = FALSE;
        list_item item;
 
        memset(item, 0, sizeof(item));
diff --git a/ui.c b/ui.c
index ad781e5b210caab637c4023f9a28376b14bc2266..cd168621e17ea94bdae05312d7994cfb52c61627 100644 (file)
--- a/ui.c
+++ b/ui.c
@@ -50,10 +50,10 @@ extern int alternative_datafile;
  * internal variables
  */
 
-int ui_initialized = FALSE;
+bool ui_initialized = FALSE;
 
-int should_resize = FALSE;
-int can_resize = FALSE;
+bool should_resize = FALSE;
+bool can_resize = FALSE;
 
 WINDOW *top = NULL, *bottom = NULL;