summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhobbs <hobbs>2005-05-23 23:19:33 (GMT)
committerhobbs <hobbs>2005-05-23 23:19:33 (GMT)
commitc9aff7faacfb21af6c3adfe75ec33a4674e5e60e (patch)
tree688839dd7bd2d470c330a566d1cb7e42206815e3
parentb1aaa8a9641695afda195f1e3450c10a4de59670 (diff)
downloadtk-c9aff7faacfb21af6c3adfe75ec33a4674e5e60e.zip
tk-c9aff7faacfb21af6c3adfe75ec33a4674e5e60e.tar.gz
tk-c9aff7faacfb21af6c3adfe75ec33a4674e5e60e.tar.bz2
* generic/tkFileFilter.c (FreeGlobPatterns): s/null/NULL/
-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;