Author: gadamopoulos Date: Wed May 29 13:14:37 2013 New Revision: 59105 URL: http://svn.reactos.org/svn/reactos?rev=59105&view=rev Log: [desk.cpl] - If loading the name of a classic color fails, try to read it from the "LegacyName" value
Modified: trunk/reactos/dll/cpl/desk/theme.c Modified: trunk/reactos/dll/cpl/desk/theme.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/desk/theme.c?rev=59105&r1=59104&r2=59105&view=diff ============================================================================== --- trunk/reactos/dll/cpl/desk/theme.c [iso-8859-1] (original) +++ trunk/reactos/dll/cpl/desk/theme.c [iso-8859-1] Wed May 29 13:14:37 2013 @@ -573,6 +573,16 @@ 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);