Commit 8418568a authored by Adam Wujek's avatar Adam Wujek

lib/util.c: don't restore color at the end of cprintf and pcprintf

Signed-off-by: 's avatarAdam Wujek <adam.wujek@creotech.pl>
parent 6004deb1
......@@ -97,7 +97,6 @@ void cprintf(int color, const char *fmt, ...)
va_start(ap, fmt);
pp_vprintf(fmt, ap);
va_end(ap);
pp_printf("\e[m");
}
void pcprintf(int row, int col, int color, const char *fmt, ...)
......@@ -108,7 +107,6 @@ void pcprintf(int row, int col, int color, const char *fmt, ...)
va_start(ap, fmt);
pp_vprintf(fmt, ap);
va_end(ap);
pp_printf("\e[m");
}
void __debug_printf(const char *fmt, ...)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment