comparison src/option.c @ 6927:58d9f967ae1a v7.4.782

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)
author Bram Moolenaar <bram@vim.org>
date Fri, 17 Jul 2015 13:03:48 +0200
parents e09a7ff88046
children 62ba356c2d4e
comparison
equal deleted inserted replaced
6926:b2839b524d9f 6927:58d9f967ae1a
4559 } 4559 }
4560 else if (*arg == '-' || VIM_ISDIGIT(*arg)) 4560 else if (*arg == '-' || VIM_ISDIGIT(*arg))
4561 { 4561 {
4562 /* Allow negative (for 'undolevels'), octal and 4562 /* Allow negative (for 'undolevels'), octal and
4563 * hex numbers. */ 4563 * hex numbers. */
4564 vim_str2nr(arg, NULL, &i, TRUE, TRUE, &value, NULL); 4564 vim_str2nr(arg, NULL, &i, TRUE, TRUE, &value, NULL, 0);
4565 if (arg[i] != NUL && !vim_iswhite(arg[i])) 4565 if (arg[i] != NUL && !vim_iswhite(arg[i]))
4566 { 4566 {
4567 errmsg = e_invarg; 4567 errmsg = e_invarg;
4568 goto skip; 4568 goto skip;
4569 } 4569 }