summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-06-27 13:09:39 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-06-27 13:09:39 +0000
commita237b8b6f3509fca8fdd37c793ea6c435fb339df (patch)
treeff19b88baf15be381dc8dfbc1eae82affd4d90cb /libvo
parent7f811fc47baf18af707f9c2606a041bdb60e7c5f (diff)
downloadmpv-a237b8b6f3509fca8fdd37c793ea6c435fb339df.tar.bz2
mpv-a237b8b6f3509fca8fdd37c793ea6c435fb339df.tar.xz
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
Diffstat (limited to 'libvo')
-rw-r--r--libvo/x11_common.c2
1 files changed, 1 insertions, 1 deletions
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);