From 80af4f24a6dbd23eee4f9046d5698e492d7749ca Mon Sep 17 00:00:00 2001 From: h_vogt Date: Sun, 17 Jan 2010 19:29:32 +0000 Subject: [PATCH] SystemParametersInfo() --- ChangeLog | 1 + src/winmain.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 52d5e22ac..fbe9fbc08 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,7 @@ various files: patches by Robert (Neval, Nintegrate) from Jan 3 2010 and 10 patches from Jan 16, 2010 * com_hardcopy.c: switching graphics context correctly for postscript output + * winmaun.c: parameter 4 to SystemParametersInfo() corrected 2010-01-16 Dietmar Warning * tests/transmission: Only few tests should be easier, more examples under diff --git a/src/winmain.c b/src/winmain.c index f04678643..bab9ddc75 100644 --- a/src/winmain.c +++ b/src/winmain.c @@ -831,7 +831,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLi if (!RegisterClass( &hwElementClass)) goto THE_END; /*Create main window */ - SystemParametersInfo(SPI_GETWORKAREA, 0, &wsize, NULL); + SystemParametersInfo(SPI_GETWORKAREA, 0, &wsize, 0); iy = wsize.bottom; iyt = iy / 3; ix = wsize.right;