From e2d477a56a27463c71dc912f29965c671b583c59 Mon Sep 17 00:00:00 2001 From: havoc Date: Thu, 15 Mar 2007 14:29:41 +0000 Subject: [PATCH] fix an error git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6985 d7cf8633-e32d-0410-b094-e92efae38249 --- filematch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filematch.c b/filematch.c index 99737875..f75ba870 100644 --- a/filematch.c +++ b/filematch.c @@ -132,7 +132,7 @@ void listdirectory(stringlist_t *list, const char *path) // ask for the directory listing handle hFile = _findfirst(pattern, &n_file); if(hFile == -1) - return NULL; + return; // start a new chain with the the first name stringlistappend(list, n_file.name); // iterate through the directory -- 2.39.2