summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index 67b1fba..1df07ea 100644
--- a/menu.c
+++ b/menu.c
@@ -514,7 +514,7 @@ static void shell_menu_update(Ted *ted) {
arr_add(ted->shell_history, command);
}
menu_close(ted);
- strbuf_cpy(ted->build_dir, ted->cwd);
+ build_set_working_directory(ted, ted->cwd);
build_start_with_command(ted, command);
}
}