summaryrefslogtreecommitdiff
path: root/src/w32uniscribe.c
diff options
context:
space:
mode:
authorJason Rumney <jasonr@gnu.org>2008-07-30 13:17:43 +0000
committerJason Rumney <jasonr@gnu.org>2008-07-30 13:17:43 +0000
commit0c34f98ec7899feb04247029379792c72c3a75ad (patch)
tree1be86bc6ad4679046d378817f2f5f752bf7d2c0e /src/w32uniscribe.c
parent6d5e9854a781b843bf9e06f6c5fa944b3bb129a3 (diff)
downloademacs-0c34f98ec7899feb04247029379792c72c3a75ad.tar.gz
(uniscribe_encode_char): Fix glyph buffer size.
Diffstat (limited to 'src/w32uniscribe.c')
-rw-r--r--src/w32uniscribe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32uniscribe.c b/src/w32uniscribe.c
index 42047c3d3c7..da49036d010 100644
--- a/src/w32uniscribe.c
+++ b/src/w32uniscribe.c
@@ -487,7 +487,7 @@ uniscribe_encode_char (font, c)
int nglyphs;
result = ScriptShape (context, &(uniscribe_font->cache),
- ch, len, 20, &(items[0].a),
+ ch, len, 1, &(items[0].a),
glyphs, clusters, attrs, &nglyphs);
if (result == E_PENDING)