mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 23:45:42 +00:00
[SETUPLIB][USETUP] Make the GENERIC_LIST store the items display text in UNICODE (and not in ANSI).
Only convert to ANSI when needed (e.g. in the display code for usetup). The 1st-stage GUI setup will however use the UNICODE strings directly. svn path=/branches/setup_improvements/; revision=75753
This commit is contained in:
parent
b86d19e936
commit
254aa472e8
7 changed files with 44 additions and 27 deletions
|
@ -575,7 +575,6 @@ AddNTOSInstallation(
|
|||
{
|
||||
PNTOS_INSTALLATION NtOsInstall;
|
||||
SIZE_T ArcPathLength, NtPathLength;
|
||||
CHAR InstallNameA[MAX_PATH];
|
||||
|
||||
/* Is there already any installation with these settings? */
|
||||
NtOsInstall = FindExistingNTOSInstall(List, SystemRootArcPath, SystemRootNtPath);
|
||||
|
@ -623,8 +622,7 @@ AddNTOSInstallation(
|
|||
InstallationName);
|
||||
|
||||
// Having the GENERIC_LIST storing the display item string plainly sucks...
|
||||
RtlStringCchPrintfA(InstallNameA, ARRAYSIZE(InstallNameA), "%S", InstallationName);
|
||||
AppendGenericListEntry(List, InstallNameA, NtOsInstall, FALSE);
|
||||
AppendGenericListEntry(List, InstallationName, NtOsInstall, FALSE);
|
||||
|
||||
return NtOsInstall;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue