mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +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:
parent
e2b784bd7b
commit
f808f35b12
1 changed files with 10 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue