Replace string concatination with fmt::format

This commit is contained in:
Dr. Dystopia
2026-07-28 12:39:54 +02:00
parent d742aa8b4c
commit 08e183d322
12 changed files with 56 additions and 38 deletions
+2 -2
View File
@@ -133,7 +133,7 @@ void ProfileCycler::CycleProfile(CycleDirection cycle_direction, InputConfig* de
}
else
{
Core::DisplayMessage("No controller found for index: " + std::to_string(controller_index),
Core::DisplayMessage(fmt::format("No controller found for index: {}", controller_index),
display_message_ms);
}
}
@@ -172,7 +172,7 @@ void ProfileCycler::CycleProfileForGame(CycleDirection cycle_direction,
}
else
{
Core::DisplayMessage("No controller found for index: " + std::to_string(controller_index),
Core::DisplayMessage(fmt::format("No controller found for index: {}", controller_index),
display_message_ms);
}
}