From b33d5912a97bf3d5e8051669759fca5bf09938b1 Mon Sep 17 00:00:00 2001 From: Edo Date: Mon, 24 Apr 2023 16:55:10 +0200 Subject: [PATCH] [Console]: Fix format string (#968) --- src/Components/Modules/Console.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Components/Modules/Console.cpp b/src/Components/Modules/Console.cpp index 8be532f7..08b53d69 100644 --- a/src/Components/Modules/Console.cpp +++ b/src/Components/Modules/Console.cpp @@ -97,9 +97,9 @@ namespace Components else if (IsWindow(GetWindow()) != FALSE) { #ifdef EXPERIMENTAL_BUILD - SetWindowTextA(GetWindow(), Utils::String::Format("IW4x " REVISION_STR "-develop : %s", hostname)); + SetWindowTextA(GetWindow(), Utils::String::Format("IW4x " REVISION_STR "-develop : {}", hostname)); #else - SetWindowTextA(GetWindow(), Utils::String::Format("IW4x " REVISION_STR " : %s", hostname)); + SetWindowTextA(GetWindow(), Utils::String::Format("IW4x " REVISION_STR " : {}", hostname)); #endif } }