From 62713aaf65264950aecad9237d50e911d7dad893 Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Thu, 1 Aug 2019 12:19:22 +0100 Subject: fix bug in undo list allocation --- screen.c | 1 + 1 file changed, 1 insertion(+) (limited to 'screen.c') diff --git a/screen.c b/screen.c index e347ea3..c27ab8b 100644 --- a/screen.c +++ b/screen.c @@ -409,6 +409,7 @@ void init_screen(){ cutbuf.l = NULL; cutbuf.num = 0; + undo = NULL; undo_sz = 0; undo_cur = -2; undo_lst = -2; -- cgit v1.2.3