Commit in reactos/drivers/video/displays/framebuf on MAIN
screen.c+2-51.3 -> 1.4
- Fixed the comparing of video modes in IntInitScreenInfo.

reactos/drivers/video/displays/framebuf
screen.c 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- screen.c	29 Jun 2004 18:12:30 -0000	1.3
+++ screen.c	10 Jul 2004 13:05:08 -0000	1.4
@@ -158,12 +158,9 @@
       ModeInfoPtr = ModeInfo;
       while (ModeCount-- > 0)
       {
-         if (ModeInfoPtr->Length == 0)
-         {
-            continue;
-         }
 
-         if (pDevMode->dmPelsWidth == ModeInfoPtr->VisScreenWidth &&
+         if (ModeInfoPtr->Length > 0 &&
+	     pDevMode->dmPelsWidth == ModeInfoPtr->VisScreenWidth &&
              pDevMode->dmPelsHeight == ModeInfoPtr->VisScreenHeight &&
              pDevMode->dmBitsPerPel == (ModeInfoPtr->BitsPerPlane *
                                         ModeInfoPtr->NumberOfPlanes) &&
CVSspam 0.2.8