aboutsummaryrefslogtreecommitdiffstats
path: root/fileset.c
diff options
context:
space:
mode:
Diffstat (limited to 'fileset.c')
-rw-r--r--fileset.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fileset.c b/fileset.c
index afa9e38c8d..4c23790bb9 100644
--- a/fileset.c
+++ b/fileset.c
@@ -44,7 +44,6 @@
#include <stdio.h>
#include <string.h>
-#include <ctype.h>
#include <glib.h>
@@ -109,7 +108,7 @@ fileset_filename_match_pattern(const char *fname)
while(minlen--) {
baselen--;
- if(!isdigit( (guchar) filename[baselen])) {
+ if(!g_ascii_isdigit( filename[baselen])) {
g_free(filename);
return FALSE;
}