From b145ce016bc6c7ced907e1729e67b0ba33cb5b10 Mon Sep 17 00:00:00 2001 From: rexy712 Date: Mon, 11 Jul 2022 15:33:30 -0700 Subject: [PATCH] Fix undoing an enter would not always properly unfold --- src/nano.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nano.c b/src/nano.c index 04f36793..922c6d52 100644 --- a/src/nano.c +++ b/src/nano.c @@ -120,6 +120,7 @@ void delete_node(linestruct *line) /* Disconnect a node from a linked list of linestructs and delete it. */ void unlink_node(linestruct *line) { + UNFOLD_IF_FOLDED(line); if (line->prev != NULL) line->prev->next = line->next; if (line->next != NULL)