Commit 85703790 authored by Reece H. Dunn's avatar Reece H. Dunn Committed by Alexandre Julliard

winecfg: Allow theme colour names to be case insensitive when reading them from a file.

parent 84d77c9d
......@@ -543,7 +543,7 @@ static void set_color_from_theme(WCHAR *keyName, COLORREF color)
for (i=0; i<sizeof(metrics)/sizeof(metrics[0]); i++)
{
if (strcmp(metrics[i].color_reg, keyNameA)==0)
if (lstrcmpiA(metrics[i].color_reg, keyNameA)==0)
{
metrics[i].color = color;
save_sys_color(i, color);
......
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