Skip to content

Commit 87c6f45

Browse files
committed
[WIN32K] Fix the size passed to UserSystemParametersInfo(). Addresses test issues revealed by r72636.
svn path=/trunk/; revision=72637
1 parent 3d5e037 commit 87c6f45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reactos/win32ss/user/ntuser/painting.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1995,7 +1995,7 @@ UserDrawCaptionText(
19951995
TRACE("UserDrawCaptionText: %wZ\n", Text);
19961996

19971997
nclm.cbSize = sizeof(nclm);
1998-
if(!UserSystemParametersInfo(SPI_GETNONCLIENTMETRICS, sizeof(NONCLIENTMETRICS), &nclm, 0))
1998+
if (!UserSystemParametersInfo(SPI_GETNONCLIENTMETRICS, nclm.cbSize, &nclm, 0))
19991999
{
20002000
ERR("UserSystemParametersInfo() failed!\n");
20012001
return FALSE;

0 commit comments

Comments
 (0)