diff options
Diffstat (limited to 'plugins/YAPP/src/message_pump.cpp')
-rw-r--r-- | plugins/YAPP/src/message_pump.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/YAPP/src/message_pump.cpp b/plugins/YAPP/src/message_pump.cpp index 73dd3fbf1b..3e2ae6a76f 100644 --- a/plugins/YAPP/src/message_pump.cpp +++ b/plugins/YAPP/src/message_pump.cpp @@ -15,7 +15,7 @@ unsigned __stdcall MessagePumpThread(void* param) SetEvent((HANDLE)param);
MSG hwndMsg = { 0 };
- while(GetMessage(&hwndMsg, 0, 0, 0) > 0 && !Miranda_Terminated()) {
+ while (GetMessage(&hwndMsg, 0, 0, 0) > 0 && !bShutdown) {
if (!IsDialogMessage(hwndMsg.hwnd, &hwndMsg)) {
switch(hwndMsg.message) {
case MUM_CREATEPOPUP:
|