From 6dd320630819e5b467d5d5ae79766f67a6ee225c Mon Sep 17 00:00:00 2001 From: handa Date: Wed, 15 Aug 2007 11:44:38 +0000 Subject: [PATCH] Include "internal-flt.h". (dump_combining_code): Don't subtract 128 from combining code off_x/y. --- src/draw.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/draw.c b/src/draw.c index 6155d4a..041bac8 100644 --- a/src/draw.c +++ b/src/draw.c @@ -67,6 +67,7 @@ #include "mtext.h" #include "textprop.h" #include "internal-gui.h" +#include "internal-flt.h" #include "face.h" #include "font.h" @@ -1824,8 +1825,8 @@ dump_combining_code (int code) code = combining_code_from_class (COMBINING_CODE_CLASS (code)); work[0] = vallign[COMBINING_CODE_BASE_Y (code)]; work[1] = hallign[COMBINING_CODE_BASE_X (code)]; - off_y = COMBINING_CODE_OFF_Y (code) - 128; - off_x = COMBINING_CODE_OFF_X (code) - 128; + off_y = COMBINING_CODE_OFF_Y (code); + off_x = COMBINING_CODE_OFF_X (code); if (off_y > 0) sprintf (work + 2, "+%d", off_y); else if (off_y < 0) -- 1.7.10.4