Bug 64906 - FcNameParse() should ignore leading whitespace in parameters
After this change, the following works as expected: $ FC_DEBUG=4 fc-match ":family=foo bar, sans-serif" ... FcConfigSubstitute Pattern has 3 elts (size 16) family: "foo bar"(s) "sans-serif"(s) ...
This commit is contained in:
parent
8d54091513
commit
cd9b1033a6
|
@ -316,6 +316,12 @@ FcNameFindNext (const FcChar8 *cur, const char *delim, FcChar8 *save, FcChar8 *l
|
|||
{
|
||||
FcChar8 c;
|
||||
|
||||
while ((c = *cur))
|
||||
{
|
||||
if (!isspace (c))
|
||||
break;
|
||||
++cur;
|
||||
}
|
||||
while ((c = *cur))
|
||||
{
|
||||
if (c == '\\')
|
||||
|
|
Loading…
Reference in New Issue