summaryrefslogtreecommitdiff
path: root/app/wlib/mswlib
diff options
context:
space:
mode:
Diffstat (limited to 'app/wlib/mswlib')
-rw-r--r--app/wlib/mswlib/mswdraw.c4
-rw-r--r--app/wlib/mswlib/mswmisc.c10
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;