diff options
Diffstat (limited to 'fontconfig/src/fcstr.c')
-rw-r--r-- | fontconfig/src/fcstr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fontconfig/src/fcstr.c b/fontconfig/src/fcstr.c index 99b59da0a..cc1465cc9 100644 --- a/fontconfig/src/fcstr.c +++ b/fontconfig/src/fcstr.c @@ -1193,7 +1193,7 @@ FcStrSetAddLangs (FcStrSet *strs, const char *languages) while ((next = strchr (p, ':'))) { len = next - p; - len = FC_MIN (len, 128); + len = FC_MIN (len, 127); strncpy ((char *) lang, p, len); lang[len] = 0; /* ignore an empty item */ |