summaryrefslogtreecommitdiff
path: root/src/fcname.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fcname.c')
-rw-r--r--src/fcname.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fcname.c b/src/fcname.c
index 6dd4d49..a525345 100644
--- a/src/fcname.c
+++ b/src/fcname.c
@@ -318,6 +318,12 @@ FcNameFindNext (const FcChar8 *cur, const char *delim, FcChar8 *save, FcChar8 *l
while ((c = *cur))
{
+ if (!isspace (c))
+ break;
+ ++cur;
+ }
+ while ((c = *cur))
+ {
if (c == '\\')
{
++cur;