From 8e2054934ae54e87334d7708227f3a91f109825d Mon Sep 17 00:00:00 2001 From: reimar Date: Fri, 26 Jun 2009 13:34:40 +0000 Subject: 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 --- libvo/geometry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvo/geometry.c b/libvo/geometry.c index 189c351fc5..393f575f1c 100644 --- a/libvo/geometry.c +++ b/libvo/geometry.c @@ -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 -- cgit v1.2.3