summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-09-30 21:15:37 +0000
committerBram Moolenaar <Bram@vim.org>2005-09-30 21:15:37 +0000
commitf25fd51b89bb31e8adb9ad055ec0b617ee9d319e (patch)
tree768e5157162172adb1783de4231a5b6356d28d68 /src
parent4effc80a8c412924601c100f640bf9066ffebbb3 (diff)
downloadvim-f25fd51b89bb31e8adb9ad055ec0b617ee9d319e.zip
updated for version 7.0152
Diffstat (limited to 'src')
-rw-r--r--src/gui.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui.c b/src/gui.c
index 9a465f494..9135992cc 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -2248,13 +2248,13 @@ gui_outstr_nowrap(s, len, flags, fg, bg, back)
/* 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,
- draw_flags | DRAW_TRANSP);
-# else
+# 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
+ gui_mch_draw_string(gui.row, scol - cn, s + i, cl,
+ draw_flags | DRAW_TRANSP);
# endif
start = i + cl;
}