summaryrefslogtreecommitdiff
path: root/app/wlib/mswlib
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2020-06-01 17:08:47 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2020-06-01 17:08:47 +0200
commitd0b6a8a4ec298024f14f704f9e40a6f9d324ccf3 (patch)
tree8645f5abd7b89361a1c5ab67e0195c84bc2ceab0 /app/wlib/mswlib
parentc2b8ba9336499ac930802e957f0d150399f3191e (diff)
parentabf57604846230dc26afe8011aefb8e7bcc34333 (diff)
Merge debian/watchdebian/1_5.1.2a-1
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;