aboutsummaryrefslogtreecommitdiff
path: root/libXfont/src/FreeType
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2014-06-08 15:03:35 +0200
committermarha <marha@users.sourceforge.net>2014-06-08 15:03:35 +0200
commitd435b20322433b335a4fc5693cce0399a3f27b2d (patch)
tree8d96b388ee1058340a9d7c1a3c4096169ac3839f /libXfont/src/FreeType
parent2614b017fb8a28f360897ece66815934fd1562f5 (diff)
downloadvcxsrv-d435b20322433b335a4fc5693cce0399a3f27b2d.tar.gz
vcxsrv-d435b20322433b335a4fc5693cce0399a3f27b2d.tar.bz2
vcxsrv-d435b20322433b335a4fc5693cce0399a3f27b2d.zip
Updated to libXfont 1.4.8
Diffstat (limited to 'libXfont/src/FreeType')
-rw-r--r--libXfont/src/FreeType/ftfuncs.c2
-rw-r--r--libXfont/src/FreeType/xttcap.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/libXfont/src/FreeType/ftfuncs.c b/libXfont/src/FreeType/ftfuncs.c
index 44e5e0288..bca58188b 100644
--- a/libXfont/src/FreeType/ftfuncs.c
+++ b/libXfont/src/FreeType/ftfuncs.c
@@ -1865,7 +1865,7 @@ FreeTypeAddProperties(FTFontPtr font, FontScalablePtr vals, FontInfoPtr info,
i++;
info->props[i].name = MakeAtom("RASTERIZER_NAME", 15, TRUE);
- info->props[i].value = MakeAtom("FreeType", 10, TRUE);
+ info->props[i].value = MakeAtom("FreeType", 8, TRUE);
info->isStringProp[i] = 1;
i++;
diff --git a/libXfont/src/FreeType/xttcap.c b/libXfont/src/FreeType/xttcap.c
index 104dc89e4..cee752ebf 100644
--- a/libXfont/src/FreeType/xttcap.c
+++ b/libXfont/src/FreeType/xttcap.c
@@ -621,7 +621,6 @@ SPropRecValList_add_by_font_cap(SDynPropRecValList *pThisList,
int len = term-p-1;
char *value;
- len = term-p-1;
value=malloc(len+1);
memcpy(value, p+1, len);
value[len]='\0';