summaryrefslogtreecommitdiffstats
path: root/xlib
diff options
context:
space:
mode:
Diffstat (limited to 'xlib')
-rw-r--r--xlib/xcolors.c6
-rw-r--r--xlib/xgc.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/xlib/xcolors.c b/xlib/xcolors.c
index d49a437..03aefce 100644
--- a/xlib/xcolors.c
+++ b/xlib/xcolors.c
@@ -306,7 +306,7 @@ colorcmp(
c += 'a' - 'A';
} else if (((unsigned)(c - '1') <= (unsigned)('9' - '1'))) {
if (d == '0') {
- d += 10;
+ d += 10;
} else if (!d) {
num = c - '0';
while ((unsigned)((c = *spec++) - '0') <= (unsigned)('9' - '0')) {
@@ -414,11 +414,11 @@ XParseColor(
}
if (num > (*p)[31]) {
if (((*p)[31] != 8) || num > 100) {
- return 0;
+ return 0;
}
num = (num * 255 + 50) / 100;
if ((num == 230) || (num == 128)) {
- /*
+ /*
* Those two entries have a deviation i.r.t the table.
*/
diff --git a/xlib/xgc.c b/xlib/xgc.c
index d9648ac..7998196 100644
--- a/xlib/xgc.c
+++ b/xlib/xgc.c
@@ -768,7 +768,7 @@ XRegisterIMInstantiateCallback(
Bool
XUnregisterIMInstantiateCallback(
- TCL_UNUSED(Display *) /* dpy */,
+ TCL_UNUSED(Display *) /* dpy */,
TCL_UNUSED(struct _XrmHashBucketRec *) /* rdb */,
TCL_UNUSED(char *) /* res_name */,
TCL_UNUSED(char *) /* res_class */,