summaryrefslogtreecommitdiffstats
path: root/libvo/vo_xv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_xv.c')
-rw-r--r--libvo/vo_xv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c
index f9c2939b5f..09b3d7ea09 100644
--- a/libvo/vo_xv.c
+++ b/libvo/vo_xv.c
@@ -435,7 +435,7 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, uint32
#endif
aspect(&vo_dwidth,&vo_dheight,A_NOZOOM);
- if ( ( flags&1 )&&( !WinID ) )
+ if ( ( flags&1 )&&( WinID <= 0 ) )
{
aspect(&vo_dwidth,&vo_dheight,A_ZOOM);
drwX=( vo_screenwidth - (vo_dwidth > vo_screenwidth?vo_screenwidth:vo_dwidth) ) / 2;