Skip to content
Snippets Groups Projects
Commit e1e02dfc authored by Frank Richter's avatar Frank Richter Committed by Alexandre Julliard
Browse files

user: Initialize size of nonclients struct in load_nonclient_metrics.

parent 946b84d9
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment