Commit 23e46d13 authored by Szunti's avatar Szunti

Fix stripping whitespace from end of family in FcPatternAddFullname

parent 4b142e92
Pipeline #258755 passed with stage
in 6 minutes and 1 second
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment