Commit 150d8899 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

make color_to_short() actually return a short

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2921 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
parent 4e5e1ae1
Showing with 2 additions and 2 deletions
+2 -2
......@@ -429,7 +429,7 @@ void rcfile_error(const char *msg, ...);
char *parse_next_word(char *ptr);
char *parse_argument(char *ptr);
#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);
bool nregcomp(regex_t *preg, const char *regex, int eflags);
void parse_syntax(char *ptr);
......
......@@ -180,7 +180,7 @@ char *parse_argument(char *ptr)
}
#ifdef ENABLE_COLOR
int color_to_short(const char *colorname, bool *bright)
short color_to_short(const char *colorname, bool *bright)
{
short mcolor = -1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment