aboutsummaryrefslogtreecommitdiff
path: root/src/undo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/undo.c')
-rw-r--r--src/undo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/undo.c b/src/undo.c
index af561887ba..7e01408537 100644
--- a/src/undo.c
+++ b/src/undo.c
@@ -2418,7 +2418,7 @@ void ex_undolist(exarg_T *eap)
*/
mark = ++lastmark;
nomark = ++lastmark;
- ga_init2(&ga, (int)sizeof(char *), 20);
+ ga_init(&ga, (int)sizeof(char *), 20);
uhp = curbuf->b_u_oldhead;
while (uhp != NULL) {