git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5539 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
atmos4 2002-04-09 13:18:45 +00:00
parent 0d44a527f1
commit cae41b33a9
1 changed files with 1 additions and 1 deletions

View File

@ -662,7 +662,7 @@ void vo_vm_switch(uint32_t X, uint32_t Y, int* modeline_width, int* modeline_hei
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;