xemu-hud.cc: Fix compilation error

when using CFLAGS="-Wformat -Werror=format-security"
This commit is contained in:
Alexandre Bouvier 2021-09-15 04:50:51 +00:00 committed by mborgerson
parent b87b06199d
commit 05d21c6e94
1 changed files with 1 additions and 1 deletions

View File

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