From: Ralph Corderoy Date: Sun, 3 Sep 2017 22:37:52 +0000 (+0100) Subject: flist.c: Use bool instead of int for some of the flags. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/a399b4c6a300067d6e1da58d2092129494f95711?hp=9c8bc93a8babf7f1316d7758b8cd73f28e794f9a flist.c: Use bool instead of int for some of the flags. --- diff --git a/uip/flist.c b/uip/flist.c index 65ddf458..03fd5c0e 100644 --- a/uip/flist.c +++ b/uip/flist.c @@ -73,11 +73,11 @@ static int maxfolders; /* info on sequences to search for */ static svector_t sequencesToDo; -static int all = FALSE; /* scan all folders in top level? */ -static int alphaOrder = FALSE; /* want alphabetical order only */ -static int recurse = FALSE; /* show nested folders? */ -static int showzero = TRUE; /* show folders even if no messages in seq? */ -static int Total = TRUE; /* display info on number of messages in * +static bool all; /* scan all folders in top level? */ +static bool alphaOrder; /* want alphabetical order only */ +static bool recurse; /* show nested folders? */ +static bool showzero = true; /* show folders even if no messages in seq? */ +static bool Total = true; /* display info on number of messages in * sequence found, and total num messages */ static char curfolder[BUFSIZ]; /* name of the current folder */