(ns_get_color): fix typo in last change
This commit is contained in:
parent
36e34d1b5d
commit
51b4b3fb38
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue