diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-09-13 17:23:02 -0700 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-09-13 19:13:00 -0700 |
commit | 0a24a2c314a507108be754a0a2d2ed1a16ec523f (patch) | |
tree | 8228647f9e05e479884b838ef10de28ef3c2dd3d /src/nvim/buffer.c | |
parent | 427cf16e44d047c14e0ca1b95eb09fc8b8eb2f3d (diff) | |
download | rneovim-0a24a2c314a507108be754a0a2d2ed1a16ec523f.tar.gz rneovim-0a24a2c314a507108be754a0a2d2ed1a16ec523f.tar.bz2 rneovim-0a24a2c314a507108be754a0a2d2ed1a16ec523f.zip |
rename: getdigits_safe => try_getdigits
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r-- | src/nvim/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c index 8fd4360aed..056fe9e1e5 100644 --- a/src/nvim/buffer.c +++ b/src/nvim/buffer.c @@ -5078,7 +5078,7 @@ chk_modeline( } else { e = s + 3; } - if (getdigits_safe(&e, &vers) != OK) { + if (!try_getdigits(&e, &vers)) { continue; } |