From bbf7667599a82119469e3d393b8e23ae2a257348 Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Thu, 1 Aug 2013 09:18:07 +0000 Subject: Fix some comments --- generic/tkConfig.c | 6 +++--- 1 file 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; } -- cgit v0.12