diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2013-08-01 09:18:07 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2013-08-01 09:18:07 (GMT) |
commit | 142705d82af6861af2e989257e64ffb1a010be8c (patch) | |
tree | eb54fcffa4c18db48cc719ce921c0bb305193245 | |
parent | 67618ec3b2f912786d2cdad71a25553a16831cf2 (diff) | |
download | tk-142705d82af6861af2e989257e64ffb1a010be8c.zip tk-142705d82af6861af2e989257e64ffb1a010be8c.tar.gz tk-142705d82af6861af2e989257e64ffb1a010be8c.tar.bz2 |
Fix some comments
FossilOrigin-Name: 9aa08cb32d49d06e708fd0d1f548e6625f2ad5c7
-rw-r--r-- | generic/tkConfig.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkConfig.c b/generic/tkConfig.c index 113b3a1..cfa5003 100644 --- a/generic/tkConfig.c +++ b/generic/tkConfig.c @@ -27,8 +27,8 @@ #include "tkFont.h" /* - * The following definition is an AssocData key used to keep track of all of - * the option tables that have been created for an interpreter. + * The following definition keeps track of all of + * the option tables that have been created for a thread. */ typedef struct ThreadSpecificData { @@ -332,7 +332,7 @@ Tk_DeleteOptionTable( int count; tablePtr->refCount--; - if (tablePtr->refCount!=0) { + if (tablePtr->refCount > 0) { return; } |