summaryrefslogtreecommitdiffstats
path: root/src/globals.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-03-29 13:08:35 +0200
committerBram Moolenaar <Bram@vim.org>2017-03-29 13:08:35 +0200
commitb1e04fca3704e272a30afbe062498819eaacd4f9 (patch)
tree7fea342678a1d0ab2f625d452047684527aec2f8 /src/globals.h
parentd5d37537d1fa46fd468bd378af2006dd09840f38 (diff)
patch 8.0.0516: a large count on a normal command causes troublev8.0.0516
Problem: A large count on a normal command causes trouble. (Dominique Pelle) Solution: Make "opcount" long.
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/globals.h b/src/globals.h
index f8186630fa..59193e07a7 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -932,10 +932,10 @@ EXTERN int State INIT(= NORMAL); /* This is the current state of the
* command interpreter. */
EXTERN int finish_op INIT(= FALSE);/* TRUE while an operator is pending */
-EXTERN int opcount INIT(= 0); /* count for pending operator */
+EXTERN long opcount INIT(= 0); /* count for pending operator */
/*
- * ex mode (Q) state
+ * Ex mode (Q) state
*/
EXTERN int exmode_active INIT(= 0); /* zero, EXMODE_NORMAL or EXMODE_VIM */
EXTERN int ex_no_reprint INIT(= FALSE); /* no need to print after z or p */