diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-04-20 06:03:12 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-04-20 06:03:12 (GMT) |
commit | ea5637cea5dc726e004f47ae2589536e2d17a4e6 (patch) | |
tree | b0550f678028544c4bc88c308e065ffb6ac677f9 /xlib/xcolors.c | |
parent | 786f07fde43aa62e29c67240e2933d1d93a80a02 (diff) | |
parent | 3c0afc0975cf1de43b06ef500d13c5da9f6084d8 (diff) | |
download | tk-ea5637cea5dc726e004f47ae2589536e2d17a4e6.zip tk-ea5637cea5dc726e004f47ae2589536e2d17a4e6.tar.gz tk-ea5637cea5dc726e004f47ae2589536e2d17a4e6.tar.bz2 |
Merge core-8-6-branch (merge-mark and eol-spacing)
Diffstat (limited to 'xlib/xcolors.c')
-rw-r--r-- | xlib/xcolors.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xlib/xcolors.c b/xlib/xcolors.c index 36dc67c..78fd44b 100644 --- a/xlib/xcolors.c +++ b/xlib/xcolors.c @@ -350,11 +350,11 @@ XParseColor( * digits in the spec. Ergo, it is not a vailid color string. * (Bug f0188aca9e) */ - + if (*p != '\0') { return 0; } - + switch ((int)(p-spec)) { case 3: colorPtr->red = US(((value >> 8) & 0xf) * 0x1111); |