diff options
Diffstat (limited to 'xlib')
-rw-r--r-- | xlib/xcolors.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xlib/xcolors.c b/xlib/xcolors.c index 7b7223c..b5fdd5d 100644 --- a/xlib/xcolors.c +++ b/xlib/xcolors.c @@ -347,14 +347,14 @@ XParseColor( /* * If *p does not point to the end of the string, there were invalid - * digits in the spec. Ergo, it is not a vailid color string. + * digits in the spec. Ergo, it is not a valid color string. * (Bug f0188aca9e) */ - + if (*p != '\0') { return 0; } - + switch ((int)(p-spec)) { case 3: colorPtr->red = US(((value >> 8) & 0xf) * 0x1111); |