summaryrefslogtreecommitdiffstats
path: root/xlib
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-10-25 21:06:25 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-10-25 21:06:25 (GMT)
commit0d5336db012f45753abace489f18f0ca299c6961 (patch)
treeb1bf3280a9046df99226158978502eeb26f5b0a3 /xlib
parente97381a6d921de403516d5b761539a450f4af83c (diff)
parent1320b8a2a9c1269a345d44d673a7a35707fbbe9c (diff)
downloadtk-core-tip-626.zip
tk-core-tip-626.tar.gz
tk-core-tip-626.tar.bz2
Merge 9.0core-tip-626
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 */,