diff options
author | Phil Jones <philj56@gmail.com> | 2023-03-06 21:43:45 +0000 |
---|---|---|
committer | Phil Jones <philj56@gmail.com> | 2023-03-06 21:43:45 +0000 |
commit | 254e96fe14cb533851ba824732c0b68300e33733 (patch) | |
tree | a8ea6c5ee33fc54b1392a007b49ddb43c2e2639c /src | |
parent | 582825eda792c2612ab6f43a14ccb2bea3aee5d4 (diff) |
Change log indent to 4 spaces.
Diffstat (limited to 'src')
-rw-r--r-- | src/log.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -15,7 +15,7 @@ static int indent = 0; static void print_indent(FILE *file) { for (int i = 0; i < indent; i++) { - fprintf(file, "\t"); + fprintf(file, " "); } } @@ -45,7 +45,6 @@ void log_warning(const char *const fmt, ...) va_list args; va_start(args, fmt); fprintf(stderr, "[WARNING]: "); - print_indent(stderr); vfprintf(stderr, fmt, args); va_end(args); } |