Commit 3100b76b authored by Carlos Garnacho's avatar Carlos Garnacho

Fix parsing of color names containing numbers

They were being defined correctly through @define-color
in CSS, but parsing failed at the moment of creating
GtkSymbolicColors depending on these.
parent bdacdfb7
......@@ -1982,7 +1982,7 @@ symbolic_color_parse_str (const gchar *string,
str++;
end = str;
while (*end == '-' || *end == '_' || g_ascii_isalpha (*end))
while (*end == '-' || *end == '_' || g_ascii_isalnum (*end))
end++;
name = g_strndup (str, end - str);
......
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