summaryrefslogtreecommitdiff
path: root/src/normal.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-07-02 23:10:47 +0000
committerBram Moolenaar <Bram@vim.org>2005-07-02 23:10:47 +0000
commitf9184a1d3151b5b727fec86c2ac0946c9c68df4d (patch)
treebcc2e9e43b74158ee7e0664371ccff058b52fae2 /src/normal.c
parent0f7d31ad83fd2088d0411c83a7819a3ce364bdf5 (diff)
downloadvim-f9184a1d3151b5b727fec86c2ac0946c9c68df4d.zip
updated for version 7.0100
Diffstat (limited to 'src/normal.c')
-rw-r--r--src/normal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/normal.c b/src/normal.c
index 05dd1b2d3..8e946429e 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -4682,7 +4682,8 @@ dozet:
FIND_IDENT)) == 0)
return;
spell_add_word(ptr, len, nchar == 'w' || nchar == 'W',
- nchar == 'G' || nchar == 'W');
+ (nchar == 'G' || nchar == 'W') ? 0
+ : (int)cap->count1);
}
break;