From 359b557176b9bb2ff1aed2082641eed39c358d0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 27 May 2020 14:58:02 +0200 Subject: New upstream version 5.1.2a --- app/wlib/mswlib/mswmisc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'app/wlib/mswlib/mswmisc.c') diff --git a/app/wlib/mswlib/mswmisc.c b/app/wlib/mswlib/mswmisc.c index b9383a2..e045cc8 100644 --- a/app/wlib/mswlib/mswmisc.c +++ b/app/wlib/mswlib/mswmisc.c @@ -1783,7 +1783,7 @@ void wExit(int rc) savePos(w); if (w->winProc != NULL) { - w->winProc(w, wQuit_e, w->data); + w->winProc(w, wQuit_e, NULL, w->data); } } } @@ -2732,8 +2732,8 @@ MainWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) w->h = newH; if (w->winProc) { - w->winProc(w, wResize_e, w->data); - w->winProc(w, wState_e, w->data); + w->winProc(w, wResize_e, NULL, w->data); + w->winProc(w, wState_e, NULL, w->data); } break; @@ -2980,7 +2980,7 @@ MainWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) } if (w->winProc) { - w->winProc(w, wClose_e, w->data); + w->winProc(w, wClose_e, NULL, w->data); } wWinShow(w, FALSE); @@ -3003,7 +3003,7 @@ MainWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) /* It's the big one! */ /* call main window procedure for processing of shutdown */ if (w->winProc) { - (w->winProc(w, wClose_e, NULL)); + (w->winProc(w, wClose_e, NULL, NULL)); } return 0L; -- cgit v1.2.3