diff options
author | Bram Moolenaar <Bram@vim.org> | 2008-12-03 12:38:36 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2008-12-03 12:38:36 +0000 |
commit | 555b3d5aba568d71722bcb3691086437379edf31 (patch) | |
tree | ecab13a4622df5346b26d98ebe57cf91b843af0e /src/ops.c | |
parent | 4eac38fb4519aba378bf137e264b61deb0504866 (diff) | |
download | vim-git-555b3d5aba568d71722bcb3691086437379edf31.tar.gz |
updated for version 7.2-064v7.2.064
Diffstat (limited to 'src/ops.c')
-rw-r--r-- | src/ops.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -2209,12 +2209,15 @@ op_tilde(oap) { for (; pos.lnum <= oap->end.lnum; ++pos.lnum) { + int one_change; + block_prep(oap, &bd, pos.lnum, FALSE); pos.col = bd.textcol; - did_change = swapchars(oap->op_type, &pos, bd.textlen); + one_change = swapchars(oap->op_type, &pos, bd.textlen); + did_change |= one_change; # ifdef FEAT_NETBEANS_INTG - if (usingNetbeans && did_change) + if (usingNetbeans && one_change) { char_u *ptr = ml_get_buf(curbuf, pos.lnum, FALSE); |