diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-08-29 15:30:07 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-08-29 15:30:07 +0000 |
commit | 89d4032cae3f1e525978bea5015434af677faa44 (patch) | |
tree | 1dd68f886ab03aed49d4e5647ee6f5296742c9e0 /src/ui.c | |
parent | 4100af7840a735cced72f1d20121850cea150a0d (diff) |
updated for version 7.0-070v7.0.070
Diffstat (limited to 'src/ui.c')
-rw-r--r-- | src/ui.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1137,7 +1137,6 @@ clip_copy_modeless_selection(both) int len; #ifdef FEAT_MBYTE char_u *p; - int i; #endif int row1 = clip_star.start.lnum; int col1 = clip_star.start.col; @@ -1218,6 +1217,8 @@ clip_copy_modeless_selection(both) #ifdef FEAT_MBYTE if (enc_dbcs != 0) { + int i; + p = ScreenLines + LineOffset[row]; for (i = start_col; i < end_col; ++i) if (enc_dbcs == DBCS_JPNU && p[i] == 0x8e) |