Maintenance: Fold two alias globals into their evidenced owner members. 0x14576A4 (gl_24635 g_inputSuggestionsEnabled) and 0x14576A6
Batch #10367 by ragnarok-clanker: no function's compiled code changes; checked with 507 compiled unit(s), including every includer of Source/UI/Edit/UIEditCtrl.h, Source/UI/Window/UIWindowMgr.h.
This commit is contained in:
parent
e85d4a6b80
commit
aa90ea3c33
15 changed files with 44 additions and 52 deletions
|
|
@ -1261,7 +1261,7 @@ int UIWindowMgr::GetHotkeyBehavior() {
|
|||
return behavior;
|
||||
}
|
||||
|
||||
if (this->modifierKey == VK_SHIFT && !g_inputSuggestionsEnabled) {
|
||||
if (this->modifierKey == VK_SHIFT && !g_windowMgr.inputSuggestionsEnabled) {
|
||||
UIWindow* parent = this->hoverWindow ? this->hoverWindow->parent : nullptr;
|
||||
if (!parent || parent == this->window_01C8 || parent->geometry.visible == 0) {
|
||||
const int count = HotkeyCount(*g_session.m_hotkeyScript, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue