make color_to_short() actually return a short
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2921 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
4e5e1ae1a3
commit
150d889965
|
@ -429,7 +429,7 @@ void rcfile_error(const char *msg, ...);
|
||||||
char *parse_next_word(char *ptr);
|
char *parse_next_word(char *ptr);
|
||||||
char *parse_argument(char *ptr);
|
char *parse_argument(char *ptr);
|
||||||
#ifdef ENABLE_COLOR
|
#ifdef ENABLE_COLOR
|
||||||
int color_to_short(const char *colorname, bool *bright);
|
short color_to_short(const char *colorname, bool *bright);
|
||||||
char *parse_next_regex(char *ptr);
|
char *parse_next_regex(char *ptr);
|
||||||
bool nregcomp(regex_t *preg, const char *regex, int eflags);
|
bool nregcomp(regex_t *preg, const char *regex, int eflags);
|
||||||
void parse_syntax(char *ptr);
|
void parse_syntax(char *ptr);
|
||||||
|
|
|
@ -180,7 +180,7 @@ char *parse_argument(char *ptr)
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef ENABLE_COLOR
|
#ifdef ENABLE_COLOR
|
||||||
int color_to_short(const char *colorname, bool *bright)
|
short color_to_short(const char *colorname, bool *bright)
|
||||||
{
|
{
|
||||||
short mcolor = -1;
|
short mcolor = -1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue