aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/indent_c.c
diff options
context:
space:
mode:
authorEliseo Martínez <eliseomarmol@gmail.com>2015-01-11 20:57:33 +0100
committerEliseo Martínez <eliseomarmol@gmail.com>2015-01-11 21:04:08 +0100
commit7f7262e93390a1855ac9c687bd492eadfe10cf98 (patch)
treecdbe41bd51e1db7ba38b4ecc84d562b21c374a06 /src/nvim/indent_c.c
parentbb737b6f0e41e16dddf5c4d0d12d406adfcd5851 (diff)
downloadrneovim-7f7262e93390a1855ac9c687bd492eadfe10cf98.tar.gz
rneovim-7f7262e93390a1855ac9c687bd492eadfe10cf98.tar.bz2
rneovim-7f7262e93390a1855ac9c687bd492eadfe10cf98.zip
Cleanup: Rename getdigits() family functions.
Diffstat (limited to 'src/nvim/indent_c.c')
-rw-r--r--src/nvim/indent_c.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/indent_c.c b/src/nvim/indent_c.c
index 94d2a2ffff..56276db3ce 100644
--- a/src/nvim/indent_c.c
+++ b/src/nvim/indent_c.c
@@ -1463,7 +1463,7 @@ void parse_cino(buf_T *buf)
if (*p == '-')
++p;
char_u *digits_start = p; /* remember where the digits start */
- int n = get_int_digits(&p);
+ int n = getdigits_int(&p);
divider = 0;
if (*p == '.') { /* ".5s" means a fraction */
fraction = atoi((char *)++p);
@@ -1676,7 +1676,7 @@ int get_c_indent(void)
else if (*p == COM_LEFT || *p == COM_RIGHT)
align = *p++;
else if (VIM_ISDIGIT(*p) || *p == '-') {
- off = get_int_digits(&p);
+ off = getdigits_int(&p);
}
else
++p;