user: Initialize size of nonclients struct in load_nonclient_metrics.
This commit is contained in:
parent
946b84d96c
commit
e1e02dfcc2
|
@ -1026,6 +1026,7 @@ static void load_nonclient_metrics(void)
|
|||
NONCLIENTMETRICSW ncm;
|
||||
INT r;
|
||||
|
||||
ncm.cbSize = sizeof (ncm);
|
||||
if (RegOpenKeyExW (HKEY_CURRENT_USER, METRICS_REGKEY,
|
||||
0, KEY_QUERY_VALUE, &hkey) != ERROR_SUCCESS) hkey = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue