diff options
author | dkf <dkf@noemail.net> | 2012-12-06 13:59:29 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2012-12-06 13:59:29 (GMT) |
commit | 0ccbd44a2e582dd85fcd120a27144b1e0e18298c (patch) | |
tree | f042e2d74bb64a5317acc8830d882f27e721796d | |
parent | ae11aedd8cabf91fe579f2d9340a5668ee3f0af7 (diff) | |
download | tk-0ccbd44a2e582dd85fcd120a27144b1e0e18298c.zip tk-0ccbd44a2e582dd85fcd120a27144b1e0e18298c.tar.gz tk-0ccbd44a2e582dd85fcd120a27144b1e0e18298c.tar.bz2 |
Minor improvements now that we're no longer tracking a standard API.
FossilOrigin-Name: 10be8e5457c7e487b11627ab9979153e1440d743
-rwxr-xr-x | xlib/xcolors.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/xlib/xcolors.c b/xlib/xcolors.c index 2c99c5d..66591c7 100755 --- a/xlib/xcolors.c +++ b/xlib/xcolors.c @@ -252,8 +252,7 @@ static const elem xColors[] = { static Tcl_WideInt parseHex64bit( const char *spec, - char **p, - int base) + char **p) { Tcl_WideInt result = 0; char c; @@ -344,7 +343,7 @@ XParseColor( { if (spec[0] == '#') { char *p; - Tcl_WideInt value = parseHex64bit(++spec, &p, 16); + Tcl_WideInt value = parseHex64bit(++spec, &p); switch ((int)(p-spec)) { case 3: |