Whitespace
This commit is contained in:
parent
554041d596
commit
f99278112d
|
@ -1497,15 +1497,15 @@ FcFreeTypeQueryFaceInternal (const FT_Face face,
|
||||||
if (elt)
|
if (elt)
|
||||||
{
|
{
|
||||||
/* Trim surrounding whitespace. */
|
/* Trim surrounding whitespace. */
|
||||||
pp = utf8;
|
pp = utf8;
|
||||||
while (*pp == ' ')
|
while (*pp == ' ')
|
||||||
pp++;
|
pp++;
|
||||||
len = strlen ((const char *) pp);
|
len = strlen ((const char *) pp);
|
||||||
memmove (utf8, pp, len + 1);
|
memmove (utf8, pp, len + 1);
|
||||||
pp = utf8 + len;
|
pp = utf8 + len;
|
||||||
while (pp > utf8 && *(pp - 1) == ' ')
|
while (pp > utf8 && *(pp - 1) == ' ')
|
||||||
pp--;
|
pp--;
|
||||||
*pp = 0;
|
*pp = 0;
|
||||||
|
|
||||||
if (FcStringInPatternElement (pat, elt, utf8))
|
if (FcStringInPatternElement (pat, elt, utf8))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue