add missing int -> bool conversion
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2768 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
d4471ebe0e
commit
6ea410e14e
|
@ -252,6 +252,8 @@ CVS code -
|
||||||
- Add macro charset(), a wrapper that calls memset(). (DLR)
|
- Add macro charset(), a wrapper that calls memset(). (DLR)
|
||||||
- Readd #defines for the isblank() and iswblank() equivalents.
|
- Readd #defines for the isblank() and iswblank() equivalents.
|
||||||
(DLR)
|
(DLR)
|
||||||
|
- In the colortype struct, make bright a bool instead of an int,
|
||||||
|
for consistency. (DLR)
|
||||||
- proto.h:
|
- proto.h:
|
||||||
- Add missing NANO_SMALL and HAVE_REGEX_H #ifdefs around the
|
- Add missing NANO_SMALL and HAVE_REGEX_H #ifdefs around the
|
||||||
do_find_bracket() prototype. (DLR)
|
do_find_bracket() prototype. (DLR)
|
||||||
|
|
|
@ -247,7 +247,7 @@ typedef struct rcoption {
|
||||||
typedef struct colortype {
|
typedef struct colortype {
|
||||||
int fg; /* Foreground color. */
|
int fg; /* Foreground color. */
|
||||||
int bg; /* Background 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
|
int pairnum; /* Color pair number used for this
|
||||||
* foreground/background. */
|
* foreground/background. */
|
||||||
regex_t start; /* Start (or all) of the regex
|
regex_t start; /* Start (or all) of the regex
|
||||||
|
|
Loading…
Reference in New Issue