mirror of
https://github.com/reactos/reactos.git
synced 2025-06-05 17:30:32 +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,
|
NULL,
|
||||||
0,
|
0,
|
||||||
NULL);
|
NULL);
|
||||||
|
if (Result != ERROR_SUCCESS)
|
||||||
|
{
|
||||||
|
Result = RegLoadMUIStringW(hkScheme,
|
||||||
|
L"LegacyName",
|
||||||
|
wstrDisplayName,
|
||||||
|
sizeof(wstrDisplayName),
|
||||||
|
NULL,
|
||||||
|
0,
|
||||||
|
NULL);
|
||||||
|
}
|
||||||
|
|
||||||
if (Result == ERROR_SUCCESS)
|
if (Result == ERROR_SUCCESS)
|
||||||
pCurrentStyle = CreateStyle(wstrStyleName, wstrDisplayName);
|
pCurrentStyle = CreateStyle(wstrStyleName, wstrDisplayName);
|
||||||
|
|
Loading…
Reference in a new issue