summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--generic/tkFileFilter.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index ce84607..c78554b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-05-23 Jeff Hobbs <jeffh@ActiveState.com>
+
+ * generic/tkFileFilter.c (FreeGlobPatterns): s/null/NULL/
+
2005-05-24 Daniel Steffen <das@users.sourceforge.net>
* macosx/Makefile:
diff --git a/generic/tkFileFilter.c b/generic/tkFileFilter.c
index 25e9105..59b9985 100644
--- a/generic/tkFileFilter.c
+++ b/generic/tkFileFilter.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkFileFilter.c,v 1.7 2005/05/21 23:29:40 dkf Exp $
+ * RCS: @(#) $Id: tkFileFilter.c,v 1.8 2005/05/23 23:19:35 hobbs Exp $
*/
#include "tkInt.h"
@@ -470,7 +470,7 @@ FreeGlobPatterns(clausePtr)
{
GlobPattern *globPtr = clausePtr->patterns;
- while (globPtr != null) {
+ while (globPtr != NULL) {
GlobPattern *toFree = globPtr;
globPtr = globPtr->next;