diff options
Diffstat (limited to 'fontconfig/src/fcname.c')
-rw-r--r-- | fontconfig/src/fcname.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fontconfig/src/fcname.c b/fontconfig/src/fcname.c index 6dd4d4948..a52534548 100644 --- a/fontconfig/src/fcname.c +++ b/fontconfig/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; |