aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-09-13 17:23:02 -0700
committerJustin M. Keyes <justinkz@gmail.com>2019-09-13 19:13:00 -0700
commit0a24a2c314a507108be754a0a2d2ed1a16ec523f (patch)
tree8228647f9e05e479884b838ef10de28ef3c2dd3d /src/nvim/buffer.c
parent427cf16e44d047c14e0ca1b95eb09fc8b8eb2f3d (diff)
downloadrneovim-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.c2
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;
}