Ticket #3051: 3051_unused_hotkeys_v2.patch
File 3051_unused_hotkeys_v2.patch, 503 bytes (added by , 8 years ago) |
---|
-
0AD/source/ps/Hotkey.cpp
63 63 std::string hotkeyName = configPair.first.substr(7); // strip the "hotkey." prefix 64 64 for (const CStr& hotkey : configPair.second) 65 65 { 66 if (hotkey.LowerCase() == "unused") 67 continue; 68 66 69 std::vector<SKey> keyCombination; 67 70 68 71 // Iterate through multiple-key bindings (e.g. Ctrl+I)