From a237b8b6f3509fca8fdd37c793ea6c435fb339df Mon Sep 17 00:00:00 2001 From: reimar Date: Wed, 27 Jun 2007 13:09:39 +0000 Subject: Fix vo_x11_clearwindow_part: x position is one less to avoid not clearing a line in case of rounding error, so width must be one larger, too. y-case is already correct. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23680 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/x11_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libvo') diff --git a/libvo/x11_common.c b/libvo/x11_common.c index c316c7af3f..ba1edbcc4f 100644 --- a/libvo/x11_common.c +++ b/libvo/x11_common.c @@ -1347,7 +1347,7 @@ void vo_x11_clearwindow_part(Display * mDisplay, Window vo_window, XFillRectangle(mDisplay, vo_window, f_gc, 0, left_ov, left_ov2, img_height); XFillRectangle(mDisplay, vo_window, f_gc, u_dwidth - left_ov2 - 1, - left_ov, left_ov2, img_height); + left_ov, left_ov2 + 1, img_height); } XFlush(mDisplay); -- cgit v1.2.3