From: handa Date: Wed, 15 Aug 2007 11:44:38 +0000 (+0000) Subject: Include "internal-flt.h". X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=6dd320630819e5b467d5d5ae79766f67a6ee225c;p=m17n%2Fm17n-lib.git Include "internal-flt.h". (dump_combining_code): Don't subtract 128 from combining code off_x/y. --- 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)