mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 19:26:42 +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:
@@ -1995,7 +1995,7 @@ UserDrawCaptionText(
|
||||
TRACE("UserDrawCaptionText: %wZ\n", Text);
|
||||
|
||||
nclm.cbSize = sizeof(nclm);
|
||||
if(!UserSystemParametersInfo(SPI_GETNONCLIENTMETRICS, sizeof(NONCLIENTMETRICS), &nclm, 0))
|
||||
if (!UserSystemParametersInfo(SPI_GETNONCLIENTMETRICS, nclm.cbSize, &nclm, 0))
|
||||
{
|
||||
ERR("UserSystemParametersInfo() failed!\n");
|
||||
return FALSE;
|
||||
|
||||
Reference in New Issue
Block a user