aboutsummaryrefslogtreecommitdiff
path: root/fontconfig/src/fcstr.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-12-12 08:35:50 +0100
committermarha <marha@users.sourceforge.net>2012-12-12 08:35:50 +0100
commitb395c3c85251d4e8761704d8e3a3c9f9fa5b45cc (patch)
tree9e522597a3553d72c66f4c9c57fc15c6c4df345c /fontconfig/src/fcstr.c
parent0328076efb5ff6e62152c09e38d0d11f7931d07b (diff)
downloadvcxsrv-b395c3c85251d4e8761704d8e3a3c9f9fa5b45cc.tar.gz
vcxsrv-b395c3c85251d4e8761704d8e3a3c9f9fa5b45cc.tar.bz2
vcxsrv-b395c3c85251d4e8761704d8e3a3c9f9fa5b45cc.zip
fontconfig mesa pixman xkeyboard-config git update 12 dev 2012
fontconfig: 9ce36f4bbebc702a35d0cd9f1a59d5b828549bc6 mesa: 621259b3de1f15c879620bbf17764fd8a27ae6f5 pixman: fdab3c1b6cd9c5e197ec3f6bc0a03da32880e317 xkeyboard-config: 378597a9d525f069c049fdd6d04ff628123f82c7
Diffstat (limited to 'fontconfig/src/fcstr.c')
-rw-r--r--fontconfig/src/fcstr.c2
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 */