summaryrefslogtreecommitdiff
path: root/build.c
diff options
context:
space:
mode:
Diffstat (limited to 'build.c')
-rw-r--r--build.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/build.c b/build.c
index 6ae1d64..7f8e9bf 100644
--- a/build.c
+++ b/build.c
@@ -49,6 +49,7 @@ static void build_start(Ted *ted) {
char *command = settings->build_default_command;
+ change_directory(ted->cwd);
#if _WIN32
if (fs_file_exists("make.bat")) {
command = "make.bat";