Fix the wrong reverse pageup and pagedown keys.

This commit is contained in:
Haojian Wu 2015-07-01 21:24:51 +08:00
parent 09c2317ae6
commit c01a79de6b

View file

@ -152,9 +152,9 @@ bool StringToAccelerator(const std::string& description,
key = ui::VKEY_HOME;
} else if (tokens[i] == "end") {
key = ui::VKEY_END;
} else if (tokens[i] == "pagedown") {
key = ui::VKEY_PRIOR;
} else if (tokens[i] == "pageup") {
key = ui::VKEY_PRIOR;
} else if (tokens[i] == "pagedown") {
key = ui::VKEY_NEXT;
} else if (tokens[i] == "esc" || tokens[i] == "escape") {
key = ui::VKEY_ESCAPE;