Mercurial > vim
changeset 3908:906eb5c0ef12 v7.3.710
updated for version 7.3.710
Problem: Patch 7.3.704 breaks "fn".
Solution: Add check for ca.cmdchar. (Christian Brabandt)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 23 Oct 2012 05:08:53 +0200 |
parents | 06e088d016ad |
children | eb8c38e45aee |
files | src/normal.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/normal.c +++ b/src/normal.c @@ -1086,7 +1086,7 @@ getcount: ca.nchar = ca.extra_char; idx = find_command(ca.cmdchar); } - else if (ca.nchar == 'n' || ca.nchar == 'N') + else if ((ca.nchar == 'n' || ca.nchar == 'N') && ca.cmdchar == 'g') ca.oap->op_type = get_op_type(*cp, NUL); else if (*cp == Ctrl_BSL) {