diff options
Diffstat (limited to 'c/main.cpp')
-rw-r--r-- | c/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -57,7 +57,7 @@ void TerminateMsg(const T* sz1, const T* sz2) noexcept ss << ": " << sz2; else ss << "."; - AWFUN(T, MessageBox)((HWND)NULL, ss.str().c_str(), AWTEXT(T, "Fatal Error"), MB_ICONERROR); + AWFUN(T, MessageBox)(g_hWnd, ss.str().c_str(), AWTEXT(T, "Fatal Error"), MB_ICONERROR); } void OnTerminate() noexcept |