diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2012-12-06 13:59:29 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2012-12-06 13:59:29 (GMT) |
commit | 1f5824f717cf3e918442c64afe2b9eb9e8c88fd6 (patch) | |
tree | f042e2d74bb64a5317acc8830d882f27e721796d | |
parent | 4e7c225d8801b69a2507ccaaabe617528a63bd38 (diff) | |
download | tk-1f5824f717cf3e918442c64afe2b9eb9e8c88fd6.zip tk-1f5824f717cf3e918442c64afe2b9eb9e8c88fd6.tar.gz tk-1f5824f717cf3e918442c64afe2b9eb9e8c88fd6.tar.bz2 |
Minor improvements now that we're no longer tracking a standard API.
-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: |