From 05d21c6e9490676def0f2c1e809b838799552632 Mon Sep 17 00:00:00 2001 From: Alexandre Bouvier Date: Wed, 15 Sep 2021 04:50:51 +0000 Subject: [PATCH] xemu-hud.cc: Fix compilation error when using CFLAGS="-Wformat -Werror=format-security" --- ui/xemu-hud.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/xemu-hud.cc b/ui/xemu-hud.cc index e3a7480f4d..ab2b764706 100644 --- a/ui/xemu-hud.cc +++ b/ui/xemu-hud.cc @@ -822,7 +822,7 @@ public: if (msg) { ImGui::SetCursorPosX((ImGui::GetWindowWidth()-ImGui::CalcTextSize(msg).x)/2.0); - ImGui::Text(msg); + ImGui::Text("%s", msg); ImGui::SameLine(); }