summaryrefslogtreecommitdiff
path: root/src/fcfreetype.c
diff options
context:
space:
mode:
authorAkira TAGOH <tagoh@redhat.com>2021-12-09 20:28:16 +0900
committerAkira TAGOH <tagoh@redhat.com>2021-12-09 20:28:16 +0900
commit3196e1815eb4c35447329026ca38c245420af1cd (patch)
tree57a4876ddc2e6b8fe1164b2e870f5e42158b40eb /src/fcfreetype.c
parent92fbf14b0d7c4737ffe1e8326b7ab8ffae5548c3 (diff)
downloadfontconfig-3196e1815eb4c35447329026ca38c245420af1cd.tar.gz
Apply the change made by 23e46d1 again
Regression by d62d984e2bfe5b9c7767e8ad657ec93652d52bbd
Diffstat (limited to 'src/fcfreetype.c')
-rw-r--r--src/fcfreetype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fcfreetype.c b/src/fcfreetype.c
index e7a359f..409c9a1 100644
--- a/src/fcfreetype.c
+++ b/src/fcfreetype.c
@@ -1701,7 +1701,7 @@ FcFreeTypeQueryFaceInternal (const FT_Face face,
len = strlen ((const char *) family);
for (i = len; i > 0; i--)
{
- if (!isspace (family[i]))
+ if (!isspace (family[i-1]))
break;
}
family[i] = 0;