mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user