summaryrefslogtreecommitdiff
path: root/ted.c
diff options
context:
space:
mode:
Diffstat (limited to 'ted.c')
-rw-r--r--ted.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ted.c b/ted.c
index 229935a..c9ac007 100644
--- a/ted.c
+++ b/ted.c
@@ -184,7 +184,7 @@ static void ted_reset_active_buffer(Ted *ted) {
ted_switch_to_buffer(ted, &ted->buffers[node->tabs[node->active_tab]]);
} else {
// there's nothing to set it to
- ted->active_buffer = NULL;
+ ted_switch_to_buffer(ted, NULL);
}
}