From: Kenichi Handa Date: Fri, 29 Aug 2008 07:57:43 +0000 (+0000) Subject: (struct uniscribe_font_info): Include composite.h. X-Git-Tag: emacs-pretest-23.0.90~3167 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=716e6ba398bafea82008f8b0d9a4ad603e5c035c;p=emacs.git (struct uniscribe_font_info): Include composite.h. (uniscribe_shape): Use LGSTRING_GLYPH_LEN, not LGSTRING_LENGTH. --- diff --git a/src/w32uniscribe.c b/src/w32uniscribe.c index e987b112a67..461903543d1 100644 --- a/src/w32uniscribe.c +++ b/src/w32uniscribe.c @@ -34,6 +34,7 @@ along with GNU Emacs. If not, see . */ #include "dispextern.h" #include "character.h" #include "charset.h" +#include "composite.h" #include "fontset.h" #include "font.h" #include "w32font.h" @@ -223,7 +224,7 @@ uniscribe_shape (lgstring) uniscribe_font = (struct uniscribe_font_info *) font; /* Get the chars from lgstring in a form we can use with uniscribe. */ - max_glyphs = nchars = LGSTRING_LENGTH (lgstring); + max_glyphs = nchars = LGSTRING_GLYPH_LEN (lgstring); done_glyphs = 0; chars = (wchar_t *) alloca (nchars * sizeof (wchar_t)); for (i = 0; i < nchars; i++)