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
master
David Lawrence Ramsey 2005-07-24 20:23:40 +00:00
parent 4e5e1ae1a3
commit 150d889965
2 changed files with 2 additions and 2 deletions

View File

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

View File

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