fix parse_keys for <a-key>

This commit is contained in:
Maxime Coste 2012-08-21 20:03:18 +02:00
parent 1515566e4b
commit 45b9ac6087

View File

@ -36,7 +36,7 @@ KeyList parse_keys(const String& str)
} }
if (tolower(keyname[0]) == 'a' and keyname[1] == '-') if (tolower(keyname[0]) == 'a' and keyname[1] == '-')
{ {
modifier = Key::Modifiers::Control; modifier = Key::Modifiers::Alt;
keyname = keyname.substr(2); keyname = keyname.substr(2);
} }
} }