updated for version 7.0069
diff --git a/src/normal.c b/src/normal.c
index 85d84c4..e5404ef 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -6071,9 +6071,14 @@
*/
else if (cap->nchar == 's' || cap->nchar == 'S')
{
- if (spell_move_to(cap->cmdchar == ']' ? FORWARD : BACKWARD,
+ setpcmark();
+ for (n = 0; n < cap->count1; ++n)
+ if (spell_move_to(cap->cmdchar == ']' ? FORWARD : BACKWARD,
cap->nchar == 's' ? TRUE : FALSE) == FAIL)
- clearopbeep(cap->oap);
+ {
+ clearopbeep(cap->oap);
+ break;
+ }
}
#endif