diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2015-01-11 15:34:38 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-01-11 15:34:38 -0500 |
commit | 7f30439d0f4d8d7e6b18f56d83d6fe868c84318c (patch) | |
tree | cdbe41bd51e1db7ba38b4ecc84d562b21c374a06 /src/nvim/eval.c | |
parent | a684cc175a6c1ca2cfc3bff2d68383d32008cb3b (diff) | |
parent | 7f7262e93390a1855ac9c687bd492eadfe10cf98 (diff) | |
download | rneovim-7f30439d0f4d8d7e6b18f56d83d6fe868c84318c.tar.gz rneovim-7f30439d0f4d8d7e6b18f56d83d6fe868c84318c.tar.bz2 rneovim-7f30439d0f4d8d7e6b18f56d83d6fe868c84318c.zip |
Merge pull request #1794 from elmart/remove-long_u-cleanup
Some suggested cleanup after #1788.
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r-- | src/nvim/eval.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c index 9974315d3f..d60ce2de73 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -2750,7 +2750,7 @@ void ex_lockvar(exarg_T *eap) if (eap->forceit) deep = -1; else if (vim_isdigit(*arg)) { - deep = getdigits(&arg); + deep = getdigits_int(&arg); arg = skipwhite(arg); } @@ -13370,7 +13370,7 @@ static void f_setreg(typval_T *argvars, typval_T *rettv) yank_type = MBLOCK; if (VIM_ISDIGIT(stropt[1])) { ++stropt; - block_len = getdigits(&stropt) - 1; + block_len = getdigits_long(&stropt) - 1; --stropt; } break; |