Commit 51b4b3fb authored by Adrian Robert's avatar Adrian Robert
Browse files

(ns_get_color): fix typo in last change

parent 36e34d1b
......@@ -1378,7 +1378,7 @@ Free a pool and temporary objects it refers to (callable from C)
else if (!strncmp(name, "rgb:", 4)) /* A newer X11 format -- rgb:r/g/b */
{
strcpy(hex, name + 4);
scaling = (strlen(hex) - 2) / 4;
scaling = (strlen(hex) - 2) / 3;
}
else if (name[0] == '#') /* An old X11 format; convert to newer */
{
......
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