aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/option.c
diff options
context:
space:
mode:
authorwatiko <service@mail.watiko.net>2016-01-14 20:41:22 +0900
committerwatiko <service@mail.watiko.net>2016-02-01 03:43:37 +0900
commit43fd12629841d459214ead194410d317ef06006c (patch)
tree074740a72dbbcc9518b2d6bc34458f3b1a298690 /src/nvim/option.c
parentb20b8f9f0450e0a3188f2f1c89d575399e0ab9a6 (diff)
downloadrneovim-43fd12629841d459214ead194410d317ef06006c.tar.gz
rneovim-43fd12629841d459214ead194410d317ef06006c.tar.bz2
rneovim-43fd12629841d459214ead194410d317ef06006c.zip
vim-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) https://github.com/vim/vim/commit/5d1bc78a2b9fbe3e3112afcde7c80eb19d5989f4
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r--src/nvim/option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c
index b4054dc28c..dd512d2dba 100644
--- a/src/nvim/option.c
+++ b/src/nvim/option.c
@@ -1432,7 +1432,7 @@ do_set (
} else if (*arg == '-' || ascii_isdigit(*arg)) {
// Allow negative (for 'undolevels'), octal and
// hex numbers.
- vim_str2nr(arg, NULL, &i, true, true, true, &value, NULL);
+ vim_str2nr(arg, NULL, &i, true, true, true, &value, NULL, 0);
if (arg[i] != NUL && !ascii_iswhite(arg[i])) {
errmsg = e_invarg;
goto skip;