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;