summaryrefslogtreecommitdiff
path: root/src/option.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-07-17 13:03:48 +0200
committerBram Moolenaar <Bram@vim.org>2015-07-17 13:03:48 +0200
commit5d1bc78a2b9fbe3e3112afcde7c80eb19d5989f4 (patch)
tree5063777a3da9f1820380678fb550a554d55b7081 /src/option.c
parentfe6f18687761403470979feef8fe8ce582ae3b60 (diff)
downloadvim-5d1bc78a2b9fbe3e3112afcde7c80eb19d5989f4.zip
patch 7.4.782
Problem: Still a few problems with CTRL-A and CTRL-X in Visual mode. Solution: Fix the reported problems. (Christian Brabandt)
Diffstat (limited to 'src/option.c')
-rw-r--r--src/option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/option.c b/src/option.c
index 046a63f3f..2e805d785 100644
--- a/src/option.c
+++ b/src/option.c
@@ -4561,7 +4561,7 @@ do_set(arg, opt_flags)
{
/* Allow negative (for 'undolevels'), octal and
* hex numbers. */
- vim_str2nr(arg, NULL, &i, TRUE, TRUE, &value, NULL);
+ vim_str2nr(arg, NULL, &i, TRUE, TRUE, &value, NULL, 0);
if (arg[i] != NUL && !vim_iswhite(arg[i]))
{
errmsg = e_invarg;