git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@364 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-16 10:58:31 +00:00
parent 913a0e0136
commit b843b0548f

View File

@@ -101,10 +101,9 @@ static LRESULT CALLBACK wndproc(HWND hWnd, UINT msg, WPARAM wp, LPARAM lp) {
if(style & WS_CHILD) return HTCLIENT;
return DefWindowProc(hWnd, msg, wp, lp);
} else if(msg == WM_DESTROY) {
MwLLDispatch(u->ll, close, NULL);
PostQuitMessage(0);
} else if(msg == WM_CLOSE) {
DestroyWindow(hWnd);
MwLLDispatch(u->ll, close, NULL);
} else if(msg == WM_CHAR) {
int n = wp;