summaryrefslogtreecommitdiff
path: root/src/ui.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-03-14 23:07:19 +0000
committerBram Moolenaar <Bram@vim.org>2006-03-14 23:07:19 +0000
commit34e9e2f13d87193041deb22ed99b70739a1551c6 (patch)
tree778d2885d71760230705acc703bf6a837d9d7a0a /src/ui.c
parenta9a568ca773b0175baa1b5c031d3965ed2bcb560 (diff)
downloadvim-git-34e9e2f13d87193041deb22ed99b70739a1551c6.tar.gz
updated for version 7.0224
Diffstat (limited to 'src/ui.c')
-rw-r--r--src/ui.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ui.c b/src/ui.c
index 34fb3d776..608e59af0 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -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);
}
}