Input: Fix "," key in keyboard pad handler

This commit is contained in:
Megamouse 2023-10-06 01:32:45 +02:00
parent 830b1a8a8d
commit 9fce70809e
2 changed files with 9 additions and 3 deletions

View file

@ -213,13 +213,13 @@ bool emu_settings::ValidateSettings(bool cleanup)
}
else
{
const auto get_full_key = [&keys](const std::string& seperator) -> std::string
const auto get_full_key = [&keys](const std::string& separator) -> std::string
{
std::string full_key;
for (usz i = 0; i < keys.size(); i++)
{
full_key += keys[i];
if (i < keys.size() - 1) full_key += seperator;
if (i < keys.size() - 1) full_key += separator;
}
return full_key;
};