summaryrefslogtreecommitdiff
path: root/screen.c
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2019-08-01 12:19:22 +0100
committerKatolaZ <katolaz@freaknet.org>2019-08-01 12:19:22 +0100
commit62713aaf65264950aecad9237d50e911d7dad893 (patch)
tree5d91079a8d70ae734564ec2dd5e00b107d0d589f /screen.c
parent08485aacd8d561f2650175b7a16211262396b2ce (diff)
fix bug in undo list allocation
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c1
1 files changed, 1 insertions, 0 deletions
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;