aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2008-08-29 07:57:43 +0000
committerKenichi Handa2008-08-29 07:57:43 +0000
commit716e6ba398bafea82008f8b0d9a4ad603e5c035c (patch)
tree33942f04e53f7db26e81c3f88981c4b5aab940bd /src
parent2b107652bf8f3e2b94824dc4fbfd6e8d0f3a0733 (diff)
downloademacs-716e6ba398bafea82008f8b0d9a4ad603e5c035c.tar.gz
emacs-716e6ba398bafea82008f8b0d9a4ad603e5c035c.zip
(struct uniscribe_font_info): Include composite.h.
(uniscribe_shape): Use LGSTRING_GLYPH_LEN, not LGSTRING_LENGTH.
Diffstat (limited to 'src')
-rw-r--r--src/w32uniscribe.c3
1 files changed, 2 insertions, 1 deletions
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 <http://www.gnu.org/licenses/>. */
34#include "dispextern.h" 34#include "dispextern.h"
35#include "character.h" 35#include "character.h"
36#include "charset.h" 36#include "charset.h"
37#include "composite.h"
37#include "fontset.h" 38#include "fontset.h"
38#include "font.h" 39#include "font.h"
39#include "w32font.h" 40#include "w32font.h"
@@ -223,7 +224,7 @@ uniscribe_shape (lgstring)
223 uniscribe_font = (struct uniscribe_font_info *) font; 224 uniscribe_font = (struct uniscribe_font_info *) font;
224 225
225 /* Get the chars from lgstring in a form we can use with uniscribe. */ 226 /* Get the chars from lgstring in a form we can use with uniscribe. */
226 max_glyphs = nchars = LGSTRING_LENGTH (lgstring); 227 max_glyphs = nchars = LGSTRING_GLYPH_LEN (lgstring);
227 done_glyphs = 0; 228 done_glyphs = 0;
228 chars = (wchar_t *) alloca (nchars * sizeof (wchar_t)); 229 chars = (wchar_t *) alloca (nchars * sizeof (wchar_t));
229 for (i = 0; i < nchars; i++) 230 for (i = 0; i < nchars; i++)