aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/garray.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/garray.h')
-rw-r--r--src/nvim/garray.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/garray.h b/src/nvim/garray.h
index 6e440039dd..df5740c553 100644
--- a/src/nvim/garray.h
+++ b/src/nvim/garray.h
@@ -12,7 +12,7 @@ typedef struct growarray {
void *ga_data; // pointer to the first item
} garray_T;
-#define GA_EMPTY_INIT_VALUE { 0, 0, 0, 0, NULL }
+#define GA_EMPTY_INIT_VALUE { 0, 0, 0, 1, NULL }
#define GA_EMPTY(ga_ptr) ((ga_ptr)->ga_len <= 0)