Fix color name (as of rgb.txt) parsing in symbolic colors
The end of the substring wasn't being detected properly.
This commit is contained in:
@ -2116,8 +2116,9 @@ symbolic_color_parse_str (const gchar *string,
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* color name? parse until first whitespace */
|
/* Color name */
|
||||||
while (*end != ' ' && *end != '\0')
|
while (*end != '\0' &&
|
||||||
|
(g_ascii_isalnum (*end) || *end == ' '))
|
||||||
end++;
|
end++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user