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 f5b916a..6ec8daf 100644
--- a/build.c
+++ b/build.c
@@ -81,7 +81,7 @@ static void build_start(Ted *ted) {
bool cargo = false, make = false;
strbuf_cpy(ted->build_dir, ted->cwd);
- Settings *settings = ted->active_buffer ? buffer_settings(ted->active_buffer) : ted->settings;
+ Settings *settings = ted_active_settings(ted);
char *command = settings->build_default_command;