summaryrefslogtreecommitdiffstats
path: root/source/lib/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/lib/util.c')
-rw-r--r--source/lib/util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/lib/util.c b/source/lib/util.c
index b1214bacb68..5aae78aa152 100644
--- a/source/lib/util.c
+++ b/source/lib/util.c
@@ -1821,6 +1821,9 @@ int dos_fnmatch(char *string, char *pattern)
if (strcmp(pattern, "*.*"))
return 1;
+ if (strequal(mask, "????????.???"))
+ pstrcpy(mask, "*");
+
return ms_fnmatch(string, pattern);
}