diff options
author | dgp <dgp@users.sourceforge.net> | 2012-12-13 16:17:13 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2012-12-13 16:17:13 (GMT) |
commit | 0ccb6618bd81f303878181effc620404a14515d8 (patch) | |
tree | a47298e64f6e89dcc1091bd45f51064214aab3f4 /generic/tcl.h | |
parent | af92fc0c2870fe4eaf14a5741d5e07aa042a2c08 (diff) | |
parent | 989c5bb9a47e868bc77b1664f487bcee7fb90b62 (diff) | |
download | tcl-0ccb6618bd81f303878181effc620404a14515d8.zip tcl-0ccb6618bd81f303878181effc620404a14515d8.tar.gz tcl-0ccb6618bd81f303878181effc620404a14515d8.tar.bz2 |
Restore clarity to macro test.
Diffstat (limited to 'generic/tcl.h')
-rw-r--r-- | generic/tcl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tcl.h b/generic/tcl.h index 129a044..7b3558a 100644 --- a/generic/tcl.h +++ b/generic/tcl.h @@ -2503,7 +2503,7 @@ EXTERN void Tcl_GetMemoryInfo(Tcl_DString *dsPtr); # define Tcl_DecrRefCount(objPtr) \ do { \ Tcl_Obj *_objPtr = (objPtr); \ - if (_objPtr->refCount-- < 2) { \ + if (--(_objPtr)->refCount <= 0) { \ TclFreeObj(_objPtr); \ } \ } while(0) |