log: use ansi_normal() instead of ANSI_NORMAL

This commit is contained in:
Yu Watanabe
2021-01-25 20:52:03 +09:00
parent 6dcf299d9b
commit 7b376b29a3
+1 -1
View File
@@ -405,7 +405,7 @@ static int write_to_console(
const char *lon = "", *loff = "";
if (log_get_show_color()) {
lon = ansi_highlight_yellow4();
loff = ANSI_NORMAL;
loff = ansi_normal();
}
(void) snprintf(location, sizeof location, "%s%s:%i%s: ", lon, file, line, loff);