summaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-09-06 19:25:11 +0000
committerBram Moolenaar <Bram@vim.org>2005-09-06 19:25:11 +0000
commitcafda4f89323b8e76818f03d81b1d0b1887862aa (patch)
treeee5f5d0f72b8563d197736948517604c677b7052 /src/screen.c
parent4440382f3c971684571e9c7494130cdd68567fd5 (diff)
downloadvim-git-cafda4f89323b8e76818f03d81b1d0b1887862aa.tar.gz
updated for version 7.0142v7.0142
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/screen.c b/src/screen.c
index 11d89b66e..269c7802a 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -3480,6 +3480,15 @@ win_line(wp, lnum, startrow, endrow)
if (mb_c < 0x80)
c = mb_c;
mb_utf8 = TRUE;
+
+ /* At start of the line we can have a composing char.
+ * Draw it as a space with a composing char. */
+ if (utf_iscomposing(mb_c))
+ {
+ u8c_c2 = u8c_c1;
+ u8c_c1 = mb_c;
+ mb_c = ' ';
+ }
}
if ((mb_l == 1 && c >= 0x80)