summaryrefslogtreecommitdiff
path: root/src/ops.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-12-03 12:38:36 +0000
committerBram Moolenaar <Bram@vim.org>2008-12-03 12:38:36 +0000
commit555b3d5aba568d71722bcb3691086437379edf31 (patch)
treeecab13a4622df5346b26d98ebe57cf91b843af0e /src/ops.c
parent4eac38fb4519aba378bf137e264b61deb0504866 (diff)
downloadvim-git-555b3d5aba568d71722bcb3691086437379edf31.tar.gz
updated for version 7.2-064v7.2.064
Diffstat (limited to 'src/ops.c')
-rw-r--r--src/ops.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/ops.c b/src/ops.c
index d79d75d52..557985c38 100644
--- a/src/ops.c
+++ b/src/ops.c
@@ -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);