From f808f35b123b614c819ef25878a7d36a973c448b Mon Sep 17 00:00:00 2001 From: Giannis Adamopoulos Date: Wed, 29 May 2013 13:14:37 +0000 Subject: [PATCH] [desk.cpl] - If loading the name of a classic color fails, try to read it from the "LegacyName" value svn path=/trunk/; revision=59105 --- reactos/dll/cpl/desk/theme.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/reactos/dll/cpl/desk/theme.c b/reactos/dll/cpl/desk/theme.c index 4eb22944912..bded82d76b7 100644 --- a/reactos/dll/cpl/desk/theme.c +++ b/reactos/dll/cpl/desk/theme.c @@ -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);