mirror of https://github.com/xemu-project/xemu.git
xemu-hud.cc: Fix compilation error
when using CFLAGS="-Wformat -Werror=format-security"
This commit is contained in:
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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue