- Synchronize up to trunk's revision r57864.
[reactos.git] / base / setup / usetup / genlist.c
index d93d952..a1f0f4d 100644 (file)
@@ -428,7 +428,7 @@ ScrollToPositionGenericList (PGENERIC_LIST List, ULONG uIndex)
     PLIST_ENTRY Entry;
     ULONG uCount = 0;
 
-    if (List->CurrentEntry == NULL)
+    if (List->CurrentEntry == NULL || uIndex == 0)
         return;
 
     do