[SETUPLIB][USETUP] Remove CurrentDisk/Partition from the partlist lib code, and move...
[reactos.git] / base / setup / reactos / drivepage.c
index b5f07b2..216f887 100644 (file)
@@ -792,12 +792,13 @@ DisableWizNext:
                     PARTENTRY PartEntry;
                     DiskEntry.DiskNumber = 0;
                     DiskEntry.BiosDiskNumber = 0;
+                    PartEntry.DiskEntry = &DiskEntry;
                     PartEntry.PartitionNumber = 1; // 4;
                     /****/
 
                     Status = InitDestinationPaths(&pSetupData->USetupData,
                                                   NULL, // pSetupData->USetupData.InstallationDirectory,
-                                                  &DiskEntry, &PartEntry);
+                                                  &PartEntry);
 
                     if (!NT_SUCCESS(Status))
                     {