From cae41b33a9ac3b845d50c9c092e85d81a144ea4b Mon Sep 17 00:00:00 2001 From: atmos4 Date: Tue, 9 Apr 2002 13:18:45 +0000 Subject: [PATCH] VM Fix by Uwe.Reder@3soft.de git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5539 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/x11_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvo/x11_common.c b/libvo/x11_common.c index 77206bb4d6..473af1504d 100644 --- a/libvo/x11_common.c +++ b/libvo/x11_common.c @@ -662,7 +662,7 @@ void vo_vm_switch(uint32_t X, uint32_t Y, int* modeline_width, int* modeline_hei for (i=1; ihdisplay >= 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;