1
mirror of https://github.com/mpv-player/mpv synced 2024-10-22 08:51:57 +02:00

100l, RESET_GEOMETRY must reset values to INT_MIN, not -1, -1 is a

valid value for e.g. the offsets.
Patch by Benson Mitchell [benson mitchell gmail com]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29391 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2009-06-26 13:34:40 +00:00
parent 114b73816f
commit 8e2054934a

View File

@ -30,7 +30,7 @@ char *vo_geometry = NULL;
int geometry_wh_changed = 0;
int geometry_xy_changed = 0;
#define RESET_GEOMETRY width = height = xoff = yoff = xper = yper = -1;
#define RESET_GEOMETRY width = height = xoff = yoff = xper = yper = INT_MIN;
// xpos,ypos: position of the left upper corner
// widw,widh: width and height of the window