mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-09 16:37:56 -04:00
RazerController: fix an unexpected end of string when layout is 0
This commit is contained in:
@@ -1087,7 +1087,7 @@ std::string RazerController::GetKeyboardLayoutName()
|
||||
case RAZER_KEYBOARD_LAYOUT_ARABIC: return "Arabic (ANSI)"; // Unconfirmed
|
||||
default:
|
||||
std::string tmp = "Unknown: ";
|
||||
tmp += layout;
|
||||
tmp.append(std::to_string(layout));
|
||||
return tmp;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user