git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@806 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-11-25 01:51:08 +00:00
parent cd0cce2779
commit 58d6a1e21d

View File

@@ -201,8 +201,8 @@ static LRESULT CALLBACK wndproc(HWND hWnd, UINT msg, WPARAM wp, LPARAM lp) {
} else if(msg == WM_SETCURSOR) {
if(LOWORD(lp) != HTCLIENT) return DefWindowProc(hWnd, msg, wp, lp);
if(u->ll->gdi.cursor != NULL) SetCursor(u->ll->gdi.cursor);
} else if(msg == WM_SETICON) {
return u->ll.gdi.icon;
} else if(msg == WM_GETICON) {
return u->ll->gdi.icon;
} else if(msg == WM_USER) {
InvalidateRect(hWnd, NULL, FALSE);
UpdateWindow(hWnd);