diff options
Diffstat (limited to 'overlay/lib.cpp')
-rw-r--r-- | overlay/lib.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/overlay/lib.cpp b/overlay/lib.cpp index 592ac7b9b..e9eeb4370 100644 --- a/overlay/lib.cpp +++ b/overlay/lib.cpp @@ -476,6 +476,11 @@ extern "C" __declspec(dllexport) int __cdecl OverlayHelperProcessMain(unsigned i break; } + if (msg.message == WM_CLOSE) { + retval = 0; + break; + } + TranslateMessage(&msg); DispatchMessage(&msg); } |