- Advancing pointer inside loop makes more sense than checking the same structure ModeCount times.

svn path=/trunk/; revision=8323
This commit is contained in:
Filip Navara 2004-02-22 22:19:48 +00:00
parent cc1c862dae
commit 576e14972b

View file

@ -145,6 +145,8 @@ IntInitScreenInfo(
{
if (ModeInfoPtr->Length == 0)
{
ModeInfoPtr = (PVIDEO_MODE_INFORMATION)
(((PUCHAR)ModeInfoPtr) + ModeInfoSize);
continue;
}
SelectedMode = ModeInfoPtr;