winecfg: Allow theme colour names to be case insensitive when reading them from a file.
This commit is contained in:
parent
84d77c9d2c
commit
85703790fd
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue