summaryrefslogtreecommitdiffstats
path: root/generic/tclParse.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2004-10-06 13:47:34 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2004-10-06 13:47:34 (GMT)
commit65897410ae420c2548d2933582c74d6417658bb3 (patch)
treed484fafd69a9eba7abad2b97f3b82ac619595019 /generic/tclParse.c
parentcf6e5c50c551e431338c46ebd6077bef93ea866e (diff)
downloadtcl-65897410ae420c2548d2933582c74d6417658bb3.zip
tcl-65897410ae420c2548d2933582c74d6417658bb3.tar.gz
tcl-65897410ae420c2548d2933582c74d6417658bb3.tar.bz2
Braces round if bodies...
Diffstat (limited to 'generic/tclParse.c')
-rw-r--r--generic/tclParse.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tclParse.c b/generic/tclParse.c
index 4d34448..8b5315c 100644
--- a/generic/tclParse.c
+++ b/generic/tclParse.c
@@ -13,7 +13,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.37 2004/07/12 01:09:10 msofer Exp $
+ * RCS: @(#) $Id: tclParse.c,v 1.38 2004/10/06 13:50:07 dkf Exp $
*/
#include "tclInt.h"
@@ -570,8 +570,9 @@ TclParseHex(src, numBytes, resultPtr)
while (numBytes--) {
unsigned char digit = UCHAR(*p);
- if (!isxdigit(digit))
+ if (!isxdigit(digit)) {
break;
+ }
++p;
result <<= 4;