changeset 5538:70725449c947

VM Fix by Uwe.Reder@3soft.de
author atmos4
date Tue, 09 Apr 2002 13:18:45 +0000
parents 6debecc64f2b
children eefc339440bc
files libvo/x11_common.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/x11_common.c	Tue Apr 09 12:03:29 2002 +0000
+++ b/libvo/x11_common.c	Tue Apr 09 13:18:45 2002 +0000
@@ -662,7 +662,7 @@
       
       for (i=1; i<modecount; i++)
         if ((vidmodes[i]->hdisplay >= X) && (vidmodes[i]->vdisplay >= Y))
-          if ( (vidmodes[i]->hdisplay < *modeline_width ) && (vidmodes[i]->vdisplay < *modeline_height) )
+          if ( (vidmodes[i]->hdisplay <= *modeline_width ) && (vidmodes[i]->vdisplay <= *modeline_height) )
 	    {
 	      *modeline_width=vidmodes[i]->hdisplay;
 	      *modeline_height=vidmodes[i]->vdisplay;