summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpooryorick <com.digitalsmarties@pooryorick.com>2018-02-15 09:40:40 (GMT)
committerpooryorick <com.digitalsmarties@pooryorick.com>2018-02-15 09:40:40 (GMT)
commitdafcde170207b3a02998280dd3b72522e7f4dfb2 (patch)
treea0d5227c55260c3583eefbe9cc2f0d51b58245ab
parente16817b40903d522f5a911fde6e1640321e94e26 (diff)
downloadtcl-dafcde170207b3a02998280dd3b72522e7f4dfb2.zip
tcl-dafcde170207b3a02998280dd3b72522e7f4dfb2.tar.gz
tcl-dafcde170207b3a02998280dd3b72522e7f4dfb2.tar.bz2
Fix syntax error in previous commit.
-rw-r--r--generic/tclOO.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclOO.c b/generic/tclOO.c
index 4915b5d..0fcf159 100644
--- a/generic/tclOO.c
+++ b/generic/tclOO.c
@@ -237,8 +237,8 @@ MODULE_SCOPE const TclOOStubs tclOOStubs;
#define RemoveItem(type, lst, i) \
do { \
Remove ## type ((lst).list, (lst).num, i); \
- (lst).num-- \
- } while 0
+ (lst).num--; \
+ } while (0)
/*
* ----------------------------------------------------------------------