Mercurial > vim
diff src/gui.c @ 536:c1d5993c7d9f
updated for version 7.0152
author | vimboss |
---|---|
date | Fri, 30 Sep 2005 21:15:37 +0000 |
parents | d50452846776 |
children | 2df7f3a5eb96 |
line wrap: on
line diff
--- a/src/gui.c +++ b/src/gui.c @@ -2248,12 +2248,12 @@ gui_outstr_nowrap(s, len, flags, fg, bg, /* Draw a composing char on top of the previous char. */ if (comping) { -# if !defined(__APPLE_CC__) && !defined(__MRC__) && !defined(TARGET_API_MAC_CARBON) && !defined(FEAT_GUI_W32) - gui_mch_draw_string(gui.row, scol - cn, s + i, cl, +# if (defined(__APPLE_CC__) || defined(__MRC__)) && TARGET_API_MAC_CARBON + /* Carbon ATSUI autodraws composing char over previous char */ + gui_mch_draw_string(gui.row, scol, s + i, cl, draw_flags | DRAW_TRANSP); # else - /* Carbon ATSUI autodraws composing char over previous char */ - gui_mch_draw_string(gui.row, scol, s + i, cl, + gui_mch_draw_string(gui.row, scol - cn, s + i, cl, draw_flags | DRAW_TRANSP); # endif start = i + cl;