From c8e7922c1a0bd47b661681e775162df388df8a91 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Mon, 30 Jan 2023 22:45:38 +1000 Subject: [PATCH] AnalogController: Fix incorrect locked message format --- src/core/analog_controller.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/analog_controller.cpp b/src/core/analog_controller.cpp index 1d0328570..bfe67fb05 100644 --- a/src/core/analog_controller.cpp +++ b/src/core/analog_controller.cpp @@ -312,8 +312,8 @@ void AnalogController::ProcessAnalogModeToggle() Host::AddIconOSDMessage( fmt::format("Controller{}AnalogMode", m_index), ICON_FA_GAMEPAD, fmt::format((m_analog_mode ? - Host::TranslateString("AnalogController", "Controller %u is locked to analog mode by the game.") : - Host::TranslateString("AnalogController", "Controller %u is locked to digital mode by the game.")) + Host::TranslateString("AnalogController", "Controller {} is locked to analog mode by the game.") : + Host::TranslateString("AnalogController", "Controller {} is locked to digital mode by the game.")) .GetCharArray(), m_index + 1u), 5.0f);