Commit e1e02dfc authored by Frank Richter's avatar Frank Richter Committed by Alexandre Julliard

user: Initialize size of nonclients struct in load_nonclient_metrics.

parent 946b84d9
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment