diff options
author | dgp <dgp@users.sourceforge.net> | 2012-12-13 16:16:40 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2012-12-13 16:16:40 (GMT) |
commit | f0de1fd27c3a2f0e88e89b4ce85ec9a0c72508f6 (patch) | |
tree | 55d29ef6fd0316b0b528e74f219dc2020548fdda /generic | |
parent | 7cf0ac1eafc58e6473a6f2d2e2c0480628ac626c (diff) | |
parent | 990ca78bafc3a3a4363dbdaca20c2c3f78b8ee83 (diff) | |
download | tcl-f0de1fd27c3a2f0e88e89b4ce85ec9a0c72508f6.zip tcl-f0de1fd27c3a2f0e88e89b4ce85ec9a0c72508f6.tar.gz tcl-f0de1fd27c3a2f0e88e89b4ce85ec9a0c72508f6.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 7a21590..145124c 100644 --- a/generic/tcl.h +++ b/generic/tcl.h @@ -2314,7 +2314,7 @@ EXTERN void Tcl_GetMemoryInfo _ANSI_ARGS_((Tcl_DString *dsPtr)); # define Tcl_DecrRefCount(objPtr) \ do { \ Tcl_Obj *_objPtr = (objPtr); \ - if (_objPtr->refCount-- < 2) { \ + if (--(_objPtr)->refCount <= 0) { \ TclFreeObj(_objPtr); \ } \ } while(0) |