mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 02:25:40 +00:00
- Advancing pointer inside loop makes more sense than checking the same structure ModeCount times.
svn path=/trunk/; revision=8323
This commit is contained in:
parent
cc1c862dae
commit
576e14972b
1 changed files with 3 additions and 1 deletions
|
@ -145,6 +145,8 @@ IntInitScreenInfo(
|
||||||
{
|
{
|
||||||
if (ModeInfoPtr->Length == 0)
|
if (ModeInfoPtr->Length == 0)
|
||||||
{
|
{
|
||||||
|
ModeInfoPtr = (PVIDEO_MODE_INFORMATION)
|
||||||
|
(((PUCHAR)ModeInfoPtr) + ModeInfoSize);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
SelectedMode = ModeInfoPtr;
|
SelectedMode = ModeInfoPtr;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue