summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-08-01 09:18:07 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-08-01 09:18:07 (GMT)
commitbbf7667599a82119469e3d393b8e23ae2a257348 (patch)
treeeb54fcffa4c18db48cc719ce921c0bb305193245 /generic
parent5971602a250afb54bb9cdd9d744603fc8c2a9d9d (diff)
downloadtk-bbf7667599a82119469e3d393b8e23ae2a257348.zip
tk-bbf7667599a82119469e3d393b8e23ae2a257348.tar.gz
tk-bbf7667599a82119469e3d393b8e23ae2a257348.tar.bz2
Fix some comments
Diffstat (limited to 'generic')
-rw-r--r--generic/tkConfig.c6
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;
}