mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 17:05:45 +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)
|
||||
{
|
||||
ModeInfoPtr = (PVIDEO_MODE_INFORMATION)
|
||||
(((PUCHAR)ModeInfoPtr) + ModeInfoSize);
|
||||
continue;
|
||||
}
|
||||
SelectedMode = ModeInfoPtr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue