diff options
Diffstat (limited to 'src/core/stdpopup')
-rw-r--r-- | src/core/stdpopup/src/message_pump.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/stdpopup/src/message_pump.cpp b/src/core/stdpopup/src/message_pump.cpp index 977f139219..8b609eafc9 100644 --- a/src/core/stdpopup/src/message_pump.cpp +++ b/src/core/stdpopup/src/message_pump.cpp @@ -23,7 +23,7 @@ unsigned __stdcall MessagePumpThread(void* param) { bool enabled = true; int status = CallService(MS_CLIST_GETSTATUSMODE, 0, 0); - if (status >= ID_STATUS_OFFLINE && status <= ID_STATUS_OUTTOLUNCH && options.disable_status[status - ID_STATUS_OFFLINE]) + if (status >= ID_STATUS_OFFLINE && status <= ID_STATUS_MAX && options.disable_status[status - ID_STATUS_OFFLINE]) enabled = false; if ((options.disable_full_screen && IsFullScreen()) || IsWorkstationLocked()) enabled = false; |