[desk.cpl]

- If loading the name of a classic color fails, try to read it from the "LegacyName" value

svn path=/trunk/; revision=59105
This commit is contained in:
Giannis Adamopoulos 2013-05-29 13:14:37 +00:00
parent e2b784bd7b
commit f808f35b12

View file

@ -573,6 +573,16 @@ LoadClassicColorSchemes(VOID)
NULL,
0,
NULL);
if (Result != ERROR_SUCCESS)
{
Result = RegLoadMUIStringW(hkScheme,
L"LegacyName",
wstrDisplayName,
sizeof(wstrDisplayName),
NULL,
0,
NULL);
}
if (Result == ERROR_SUCCESS)
pCurrentStyle = CreateStyle(wstrStyleName, wstrDisplayName);