summaryrefslogtreecommitdiff
path: root/src/normal.c
diff options
context:
space:
mode:
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;