ImGuiOverlays: Fix >1 controller display

This commit is contained in:
Stenzek 2024-04-27 12:41:47 +10:00
parent 1fbb848c52
commit d80aa91d49
No known key found for this signature in database

View file

@ -629,9 +629,9 @@ void ImGuiManager::DrawInputsOverlay()
continue;
if (cinfo->icon_name)
text.append_format("{} {}", cinfo->icon_name, port + 1u);
text.format("{} {}", cinfo->icon_name, port + 1u);
else
text.append_format("{} |", port + 1u);
text.format("{} |", port + 1u);
for (const Controller::ControllerBindingInfo& bi : cinfo->bindings)
{