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(); }