Fix stripping whitespace from end of family in FcPatternAddFullname
This commit is contained in:
parent
4b142e9241
commit
23e46d13c5
|
@ -49,7 +49,7 @@ FcPatternAddFullname (FcPattern *pat)
|
|||
len = strlen ((const char *) family);
|
||||
for (i = len; i > 0; i--)
|
||||
{
|
||||
if (!isspace (family[i]))
|
||||
if (!isspace (family[i-1]))
|
||||
break;
|
||||
}
|
||||
family[i] = 0;
|
||||
|
|
Loading…
Reference in New Issue