(ns_get_color): fix typo in last change

This commit is contained in:
Adrian Robert 2009-08-21 19:36:50 +00:00
parent 36e34d1b5d
commit 51b4b3fb38

View file

@ -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 */
{