summaryrefslogtreecommitdiff
path: root/src/cindent.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cindent.c')
-rw-r--r--src/cindent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cindent.c b/src/cindent.c
index b2fac1a9f..ce02402c2 100644
--- a/src/cindent.c
+++ b/src/cindent.c
@@ -718,7 +718,7 @@ cin_isinit(void)
{
int i, l;
- for (i = 0; i < (int)(sizeof(skip) / sizeof(char *)); ++i)
+ for (i = 0; i < (int)ARRAY_LENGTH(skip); ++i)
{
l = (int)strlen(skip[i]);
if (cin_starts_with(s, skip[i]))