diff options
author | dkf <dkf@noemail.net> | 2008-10-26 18:34:02 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2008-10-26 18:34:02 (GMT) |
commit | a7f4994a82b51ba52af159f6032fc29a50a3fe40 (patch) | |
tree | b47f8826ac440515804f80e59f434ef1dff42fd1 /generic/tclParse.c | |
parent | 136f9d15662bdc864c3a4af1bd0d704d135070a9 (diff) | |
download | tcl-a7f4994a82b51ba52af159f6032fc29a50a3fe40.zip tcl-a7f4994a82b51ba52af159f6032fc29a50a3fe40.tar.gz tcl-a7f4994a82b51ba52af159f6032fc29a50a3fe40.tar.bz2 |
Style improvements - invoking callbacks without visual junk.
FossilOrigin-Name: a1a8afc25d47810e677f42869f79723f80f3d6a6
Diffstat (limited to 'generic/tclParse.c')
-rw-r--r-- | generic/tclParse.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclParse.c b/generic/tclParse.c index 787b556..c730eaa 100644 --- a/generic/tclParse.c +++ b/generic/tclParse.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclParse.c,v 1.72 2008/09/17 02:15:32 mistachkin Exp $ + * RCS: @(#) $Id: tclParse.c,v 1.73 2008/10/26 18:34:04 dkf Exp $ */ #include "tclInt.h" @@ -878,21 +878,21 @@ TclParseBackslash( */ if (isdigit(UCHAR(*p)) && (UCHAR(*p) < '8')) { /* INTL: digit */ - result = (unsigned char)(*p - '0'); + result = UCHAR(*p - '0'); p++; if ((numBytes == 2) || !isdigit(UCHAR(*p)) /* INTL: digit */ || (UCHAR(*p) >= '8')) { break; } count = 3; - result = (unsigned char)((result << 3) + (*p - '0')); + result = UCHAR((result << 3) + (*p - '0')); p++; if ((numBytes == 3) || !isdigit(UCHAR(*p)) /* INTL: digit */ || (UCHAR(*p) >= '8')) { break; } count = 4; - result = (unsigned char)((result << 3) + (*p - '0')); + result = UCHAR((result << 3) + (*p - '0')); break; } |