summaryrefslogtreecommitdiff
path: root/build.c
diff options
context:
space:
mode:
Diffstat (limited to 'build.c')
-rw-r--r--build.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.c b/build.c
index 6ec8daf..3ac0001 100644
--- a/build.c
+++ b/build.c
@@ -13,7 +13,7 @@ static void build_stop(Ted *ted) {
}
arr_clear(ted->build_queue);
if (ted->active_buffer == &ted->build_buffer) {
- ted->active_buffer = NULL;
+ ted_switch_to_buffer(ted, NULL);
ted_reset_active_buffer(ted);
}
}