summaryrefslogtreecommitdiffstats
path: root/xlib
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-28 14:20:10 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-28 14:20:10 (GMT)
commit561fe24459c6d4f750c4ebe2a138aa563b1fb58c (patch)
treee673960f89c60cf441d8f7ccf2a0f29dcebfad18 /xlib
parent7cd7731a93610c00e44c811f86b7afd62e83b82e (diff)
downloadtk-561fe24459c6d4f750c4ebe2a138aa563b1fb58c.zip
tk-561fe24459c6d4f750c4ebe2a138aa563b1fb58c.tar.gz
tk-561fe24459c6d4f750c4ebe2a138aa563b1fb58c.tar.bz2
Fix some C++ comments in ttkWinXPTheme.c (needed for MSVC++ 6.0)
Fix some typing errors in code comments. Some eol-spacing elimination
Diffstat (limited to 'xlib')
-rw-r--r--xlib/xcolors.c6
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);