diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-10-25 21:06:25 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-10-25 21:06:25 (GMT) |
| commit | 0d5336db012f45753abace489f18f0ca299c6961 (patch) | |
| tree | b1bf3280a9046df99226158978502eeb26f5b0a3 /xlib | |
| parent | e97381a6d921de403516d5b761539a450f4af83c (diff) | |
| parent | 1320b8a2a9c1269a345d44d673a7a35707fbbe9c (diff) | |
| download | tk-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.c | 6 | ||||
| -rw-r--r-- | xlib/xgc.c | 2 |
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. */ @@ -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 */, |
