changeset 23660:3ab096c77b9e

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.
author reimar
date Wed, 27 Jun 2007 13:09:39 +0000
parents f15f95c2671a
children acc21d14f1bf
files libvo/x11_common.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/x11_common.c	Wed Jun 27 13:04:29 2007 +0000
+++ b/libvo/x11_common.c	Wed Jun 27 13:09:39 2007 +0000
@@ -1347,7 +1347,7 @@
         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);