From: Jaakko Heinonen Date: Sun, 10 Feb 2002 10:27:59 +0000 (+0000) Subject: some int -> bool changes X-Git-Tag: upstream/0.6.1~2^2~298 X-Git-Url: https://git.deb.at/w?p=pkg%2Fabook.git;a=commitdiff_plain;h=42b63bdef9bec780253f214fa2c7d0b5ce484725 some int -> bool changes --- diff --git a/abook.c b/abook.c index 4808dac..da16538 100644 --- 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() diff --git a/filter.c b/filter.c index 1d42a28..4a537b9 100644 --- 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 ad781e5..cd16862 100644 --- 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;