Author: ekohl
Date: Mon Feb 27 14:32:09 2017
New Revision: 73997
URL:
http://svn.reactos.org/svn/reactos?rev=73997&view=rev
Log:
[USETUP]
Scroll in partitions list doesn't work.
Patch by thc.
CORE-11895 #resolve #comment Thanks a lot!
Modified:
trunk/reactos/base/setup/usetup/partlist.c
Modified: trunk/reactos/base/setup/usetup/partlist.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/partlist…
==============================================================================
--- trunk/reactos/base/setup/usetup/partlist.c [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/partlist.c [iso-8859-1] Mon Feb 27 14:32:09 2017
@@ -1935,6 +1935,27 @@
LastLine++;
}
+ if (CurrentPartLineFound == FALSE)
+ {
+ Entry2 = DiskEntry->LogicalPartListHead.Flink;
+ while (Entry2 != &DiskEntry->LogicalPartListHead)
+ {
+ PartEntry = CONTAINING_RECORD(Entry2, PARTENTRY, ListEntry);
+ if (PartEntry == List->CurrentPartition)
+ {
+ CurrentPartLineFound = TRUE;
+ }
+
+ Entry2 = Entry2->Flink;
+ if (CurrentPartLineFound == FALSE)
+ {
+ CurrentPartLine++;
+ }
+
+ LastLine++;
+ }
+ }
+
if (DiskEntry == List->CurrentDisk)
{
CurrentDiskLineFound = TRUE;