summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2003-03-14 15:48:13 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2003-03-14 15:48:13 +0000
commitaae6ade1b44956f825c4a9e8274b9cd7a0ee504c (patch)
tree70c96c15a703b96db602e9e1a3463ee6aadc503f
parente8102870d58534c07741eaa1dd34787cee38d784 (diff)
downloadxine-lib-aae6ade1b44956f825c4a9e8274b9cd7a0ee504c.tar.gz
xine-lib-aae6ade1b44956f825c4a9e8274b9cd7a0ee504c.tar.bz2
pfff, this time i commit the right version :-\
CVS patchset: 4409 CVS date: 2003/03/14 15:48:13
-rw-r--r--src/xine-engine/osd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xine-engine/osd.c b/src/xine-engine/osd.c
index 7111e935c..85837ef84 100644
--- a/src/xine-engine/osd.c
+++ b/src/xine-engine/osd.c
@@ -331,7 +331,7 @@ static void osd_line (osd_object_t *osd,
while(x1<x2)
{
- if(c <= (osd->area + osd->width * osd->width))
+ if(c <= (osd->area + (osd->width * osd->height)))
*c = color;
c++;
@@ -361,7 +361,7 @@ static void osd_line (osd_object_t *osd,
while(y1<y2) {
- if(c <= (osd->area + osd->width * osd->width))
+ if(c <= (osd->area + (osd->width * osd->height)))
*c = color;
c += osd->width;