add missing int -> bool conversion

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2768 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2005-06-26 22:32:51 +00:00
parent d4471ebe0e
commit 6ea410e14e
2 changed files with 3 additions and 1 deletions

View File

@ -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)

View File

@ -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