forked from aniani/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)
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user