From 7909d89fa3a041ae157d19b4a22f73f3f1bac3d7 Mon Sep 17 00:00:00 2001 From: Jan200101 Date: Thu, 21 Jul 2022 15:12:41 +0200 Subject: adjust styling, duplicate stderr into stdout --- src/build.c | 2 +- src/ui.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/build.c b/src/build.c index 4c7667d..0c4214f 100644 --- a/src/build.c +++ b/src/build.c @@ -97,7 +97,7 @@ void create_build() strcat(build_path, "/log"); freopen(build_path, "w", stdout); - freopen(build_path, "w", stderr); + dup2(1, 2); free(build_path); } diff --git a/src/ui.c b/src/ui.c index 2740ef7..53ef358 100644 --- a/src/ui.c +++ b/src/ui.c @@ -203,7 +203,7 @@ void print_build_info() "-->" "" "" - "
%s
", + "
%s
", current_build->name, time, current_build->completion ? buildtime : "", build_class[current_build->status], build_string[current_build->status], current_project->name, current_build->name, -- cgit v1.2.3