Decompile fn_12583 (UIHotKeyWnd::AssignSelectedHotkey)
Batch #12455 by cremane: 0 byte-identical, 1 confirmed by peer review. - fn_12583 UIHotKeyWnd::AssignSelectedHotkey: logic confirmed by peer review Peer-reviewed-by: Yommy, gordaoprogramas, dori Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
7399a21b86
commit
8b76177ab8
1 changed files with 8 additions and 8 deletions
|
|
@ -578,14 +578,14 @@ bool UIHotKeyWnd::AssignSelectedHotkey(int mode) {
|
|||
mode = this->CheckHotkeyConflict();
|
||||
}
|
||||
|
||||
if (mode == 1) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (mode == 2) {
|
||||
rejection = 0x5CF;
|
||||
} else if (mode == 3) {
|
||||
rejection = 0x5D0;
|
||||
switch (mode) {
|
||||
case 1:
|
||||
return false;
|
||||
case 2:
|
||||
rejection = 0x5CF;
|
||||
break;
|
||||
case 3:
|
||||
rejection = 0x5D0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue