tree-wide: avoid direct use of color macros

This commit is contained in:
rnhmjoj
2020-12-15 19:29:42 +01:00
parent c4fea19abb
commit 25e4608b8b
7 changed files with 21 additions and 22 deletions
+1 -1
View File
@@ -404,7 +404,7 @@ static int write_to_console(
if (show_location) {
const char *lon = "", *loff = "";
if (log_get_show_color()) {
lon = ANSI_HIGHLIGHT_YELLOW4;
lon = ansi_highlight_yellow4();
loff = ANSI_NORMAL;
}