mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 15:23:03 +00:00
[SETUPLIB][USETUP] Remove the deprecated GenericListHasSingleEntry() function and use instead GetNumberOfListEntries().
- Few FIXMEs get fixed in the process. - Add some diagnostic ASSERTs.
This commit is contained in:
parent
a635aa8475
commit
a972948051
5 changed files with 24 additions and 39 deletions
|
@ -761,10 +761,7 @@ ProcessComputerFiles(
|
|||
|
||||
Entry = GetCurrentListEntry(List);
|
||||
if (Entry == NULL)
|
||||
{
|
||||
DPRINT("GetCurrentListEntry() failed\n");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
RtlStringCchPrintfW(SectionName, ARRAYSIZE(SectionName),
|
||||
L"Files.%s", ((PGENENTRY)GetListEntryData(Entry))->Id);
|
||||
|
@ -794,10 +791,7 @@ ProcessDisplayRegistry(
|
|||
|
||||
Entry = GetCurrentListEntry(List);
|
||||
if (Entry == NULL)
|
||||
{
|
||||
DPRINT1("GetCurrentListEntry() failed\n");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
if (!SetupFindFirstLineW(InfFile, L"Display",
|
||||
((PGENENTRY)GetListEntryData(Entry))->Id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue