diff --git a/ChangeLog b/ChangeLog index 6869dfbc..2441b286 100644 --- 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 index eb8a115e..0720b8b7 100644 --- 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