summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-06-29 13:56:06 +0200
committerBram Moolenaar <Bram@vim.org>2012-06-29 13:56:06 +0200
commit89f940fcacf0b0996c05537034b37b8c6bb87cf5 (patch)
tree5e603f1f8989823d54929a751bbec06de1bb0a70
parente79abddb2fbc306beb61204432c92f3739bafd2c (diff)
downloadvim-git-7.3.575.tar.gz
updated for version 7.3.575v7.3.575
Problem: "ygt" tries to yank instead of giving an error. (Daniel Mueller) Solution: Check for a pending operator.
-rw-r--r--src/normal.c6
-rw-r--r--src/version.c2
2 files changed, 6 insertions, 2 deletions
diff --git a/src/normal.c b/src/normal.c
index 6688a9da8..8134adb2d 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -8393,10 +8393,12 @@ nv_g_cmd(cap)
#ifdef FEAT_WINDOWS
case 't':
- goto_tabpage((int)cap->count0);
+ if (!checkclearop(oap))
+ goto_tabpage((int)cap->count0);
break;
case 'T':
- goto_tabpage(-(int)cap->count1);
+ if (!checkclearop(oap))
+ goto_tabpage(-(int)cap->count1);
break;
#endif
diff --git a/src/version.c b/src/version.c
index e798a87d8..33f03e062 100644
--- a/src/version.c
+++ b/src/version.c
@@ -715,6 +715,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 575,
+/**/
574,
/**/
573,