Mercurial > mplayer.hg
changeset 29349:26347e1dc763
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]
author | reimar |
---|---|
date | Fri, 26 Jun 2009 13:34:40 +0000 |
parents | 1ee2b495f09b |
children | a5c49ea5059a |
files | libvo/geometry.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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