# HG changeset patch # User reimar # Date 1246023280 0 # Node ID 26347e1dc76359e9a7131f2723af92cce9702114 # Parent 1ee2b495f09bb286c9be47d47b6a576d0202c8ca 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] diff -r 1ee2b495f09b -r 26347e1dc763 libvo/geometry.c --- a/libvo/geometry.c Thu Jun 25 20:06:03 2009 +0000 +++ b/libvo/geometry.c Fri Jun 26 13:34:40 2009 +0000 @@ -30,7 +30,7 @@ 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