mirror of
https://github.com/reactos/reactos.git
synced 2024-07-01 02:10:07 +00:00
[WIN32K] Fix the size passed to UserSystemParametersInfo(). Addresses test issues revealed by r72636.
svn path=/trunk/; revision=72637
This commit is contained in:
parent
3d5e037772
commit
87c6f4541c
|
@ -1995,7 +1995,7 @@ UserDrawCaptionText(
|
||||||
TRACE("UserDrawCaptionText: %wZ\n", Text);
|
TRACE("UserDrawCaptionText: %wZ\n", Text);
|
||||||
|
|
||||||
nclm.cbSize = sizeof(nclm);
|
nclm.cbSize = sizeof(nclm);
|
||||||
if(!UserSystemParametersInfo(SPI_GETNONCLIENTMETRICS, sizeof(NONCLIENTMETRICS), &nclm, 0))
|
if (!UserSystemParametersInfo(SPI_GETNONCLIENTMETRICS, nclm.cbSize, &nclm, 0))
|
||||||
{
|
{
|
||||||
ERR("UserSystemParametersInfo() failed!\n");
|
ERR("UserSystemParametersInfo() failed!\n");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in a new issue