commit 6ea410e14e777b642bcd55ba60822050f4072da4
parent d4471ebe0ebde907d7684626dd620ccc94016a8b
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Sun, 26 Jun 2005 22:32:51 +0000
add missing int -> bool conversion
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2768 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
@@ -252,6 +252,8 @@ CVS code -
- Add macro charset(), a wrapper that calls memset(). (DLR)
- Readd #defines for the isblank() and iswblank() equivalents.
(DLR)
+ - In the colortype struct, make bright a bool instead of an int,
+ for consistency. (DLR)
- proto.h:
- Add missing NANO_SMALL and HAVE_REGEX_H #ifdefs around the
do_find_bracket() prototype. (DLR)
diff --git a/src/nano.h b/src/nano.h
@@ -247,7 +247,7 @@ typedef struct rcoption {
typedef struct colortype {
int fg; /* Foreground color. */
int bg; /* Background color. */
- int bright; /* Is this color A_BOLD? */
+ bool bright; /* Is this color A_BOLD? */
int pairnum; /* Color pair number used for this
* foreground/background. */
regex_t start; /* Start (or all) of the regex