diff options
author | dgp <dgp@users.sourceforge.net> | 2012-12-13 16:11:07 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2012-12-13 16:11:07 (GMT) |
commit | 94ada5d31fad15023ae03d890aa734b130b8f386 (patch) | |
tree | 3419d8dcdc77bdae3be574f7f376d5dcf77dfb1d /generic | |
parent | b9a522a6bf466ea2e0be03923be7029824ffb17b (diff) | |
download | tcl-94ada5d31fad15023ae03d890aa734b130b8f386.zip tcl-94ada5d31fad15023ae03d890aa734b130b8f386.tar.gz tcl-94ada5d31fad15023ae03d890aa734b130b8f386.tar.bz2 |
Restore clarity to macro test.
Diffstat (limited to 'generic')
-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 bf9b446..9dd6ff0 100644 --- a/generic/tcl.h +++ b/generic/tcl.h @@ -833,7 +833,7 @@ int Tcl_IsShared _ANSI_ARGS_((Tcl_Obj *objPtr)); # define Tcl_DecrRefCount(objPtr) \ do { \ Tcl_Obj *_objPtr = (objPtr); \ - if (_objPtr->refCount-- < 2) { \ + if (--(_objPtr)->refCount <= 0) { \ TclFreeObj(_objPtr); \ } \ } while(0) |