mirror of
https://github.com/mborgerson/xemu.git
synced 2025-12-01 16:10:01 +00:00
xemu-hud.cc: Fix compilation error
when using CFLAGS="-Wformat -Werror=format-security"
This commit is contained in:
committed by
mborgerson
parent
b87b06199d
commit
05d21c6e94
@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user