summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2023-03-06 21:43:45 +0000
committerPhil Jones <philj56@gmail.com>2023-03-06 21:43:45 +0000
commit254e96fe14cb533851ba824732c0b68300e33733 (patch)
treea8ea6c5ee33fc54b1392a007b49ddb43c2e2639c /src
parent582825eda792c2612ab6f43a14ccb2bea3aee5d4 (diff)
Change log indent to 4 spaces.
Diffstat (limited to 'src')
-rw-r--r--src/log.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/log.c b/src/log.c
index 2793dbc..0f6fe9e 100644
--- a/src/log.c
+++ b/src/log.c
@@ -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);
}