diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-05-27 14:58:02 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-05-27 14:58:02 +0200 |
commit | 359b557176b9bb2ff1aed2082641eed39c358d0d (patch) | |
tree | f6c2baca2e6a5d06b7bf32e48e475a6b7b1ea262 /app/wlib/mswlib | |
parent | 9a1d6eded2750572e9f5f79e53ec507dd7a06ba5 (diff) |
New upstream version 5.1.2aupstream/5.1.2a
Diffstat (limited to 'app/wlib/mswlib')
-rw-r--r-- | app/wlib/mswlib/mswdraw.c | 4 | ||||
-rw-r--r-- | app/wlib/mswlib/mswmisc.c | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/app/wlib/mswlib/mswdraw.c b/app/wlib/mswlib/mswdraw.c index ffd6031..bf0ab76 100644 --- a/app/wlib/mswlib/mswdraw.c +++ b/app/wlib/mswlib/mswdraw.c @@ -948,7 +948,7 @@ void wDrawFilledPolygon( if (cnt*2 > wFillPointsMax) { wFillPoints = realloc( wFillPoints, cnt * 2 * sizeof *(POINT*)NULL ); if (wFillPoints == NULL) { - fputs("can't realloc wFillPoints\n", stderr);
+ fputs("can't realloc wFillPoints\n", stderr); abort(); } wFillPointsMax = cnt*2; @@ -1102,7 +1102,7 @@ void wDrawClear( wDraw_p d ) void wDrawSetSize( wDraw_p d, wPos_t width, - wPos_t height ) + wPos_t height, void * redraw) { d->w = width; d->h = height; 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; |