diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-03-14 23:07:19 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-03-14 23:07:19 +0000 |
commit | 34e9e2f13d87193041deb22ed99b70739a1551c6 (patch) | |
tree | 778d2885d71760230705acc703bf6a837d9d7a0a /src/ui.c | |
parent | a9a568ca773b0175baa1b5c031d3965ed2bcb560 (diff) |
updated for version 7.0224
Diffstat (limited to 'src/ui.c')
-rw-r--r-- | src/ui.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1235,6 +1235,7 @@ clip_copy_modeless_selection(both) { int off; int i; + int ci; off = LineOffset[row]; for (i = start_col; i < end_col; ++i) @@ -1246,12 +1247,12 @@ clip_copy_modeless_selection(both) else { bufp += utf_char2bytes(ScreenLinesUC[off + i], bufp); - for (i = 0; i < Screen_mco; ++i) + for (ci = 0; ci < Screen_mco; ++ci) { /* Add a composing character. */ - if (ScreenLinesC[i][off + i] == 0) + if (ScreenLinesC[ci][off + i] == 0) break; - bufp += utf_char2bytes(ScreenLinesC[i][off + i], + bufp += utf_char2bytes(ScreenLinesC[ci][off + i], bufp); } } |