From 540e180fb135d63807f596a50b96961b9b875817 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 16 Mar 2019 14:45:16 +0200 Subject: [PATCH] - fixed log text output to console src/p_user.cpp:429:42: warning: data argument not used by format string [-Wformat-extra-args] --- src/p_user.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_user.cpp b/src/p_user.cpp index baaafc540..f854d5c8c 100644 --- a/src/p_user.cpp +++ b/src/p_user.cpp @@ -426,7 +426,7 @@ void player_t::SetLogText (const char *text) if (mo && mo->CheckLocalView()) { // Print log text to console - Printf(PRINT_NONOTIFY, TEXTCOLOR_GOLD, "%s\n", LogText[0] == '$' ? GStrings(text + 1) : text); + Printf(PRINT_NONOTIFY, TEXTCOLOR_GOLD "%s\n", LogText[0] == '$' ? GStrings(text + 1) : text); } }