summaryrefslogtreecommitdiff
path: root/ui/persfilepath_opt.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/persfilepath_opt.c')
-rw-r--r--ui/persfilepath_opt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/persfilepath_opt.c b/ui/persfilepath_opt.c
index cbd894e58f..d1569605a7 100644
--- a/ui/persfilepath_opt.c
+++ b/ui/persfilepath_opt.c
@@ -24,7 +24,6 @@
#include "config.h"
#include <string.h>
-#include <ctype.h>
#include <errno.h>
#include <glib.h>
@@ -55,7 +54,7 @@ persfilepath_opt(int opt _U_, const char *optstr)
* as we allow it in the preferences file, we might as well
* allow it here).
*/
- while (isspace((guchar)*p))
+ while (g_ascii_isspace(*p))
p++;
if (*p == '\0') {
/*