commit | cafda4f89323b8e76818f03d81b1d0b1887862aa | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Sep 06 19:25:11 2005 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Sep 06 19:25:11 2005 +0000 |
tree | ee5f5d0f72b8563d197736948517604c677b7052 | |
parent | 4440382f3c971684571e9c7494130cdd68567fd5 [diff] [blame] |
updated for version 7.0142
diff --git a/src/screen.c b/src/screen.c index 11d89b6..269c780 100644 --- a/src/screen.c +++ b/src/screen.c
@@ -3480,6 +3480,15 @@ 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)