From 33b1749ad986f19df42e61be870cb7953db46ac6 Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Sat, 8 Mar 2003 12:53:04 +0000 Subject: fix xine_osd_draw_point() CVS patchset: 4370 CVS date: 2003/03/08 12:53:04 --- src/xine-engine/xine_interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xine-engine/xine_interface.c b/src/xine-engine/xine_interface.c index 14d177f24..97a4243e3 100644 --- a/src/xine-engine/xine_interface.c +++ b/src/xine-engine/xine_interface.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine_interface.c,v 1.42 2003/03/07 01:30:37 miguelfreitas Exp $ + * $Id: xine_interface.c,v 1.43 2003/03/08 12:53:04 f1rmb Exp $ * * convenience/abstraction layer, functions to implement * libxine's public interface @@ -536,7 +536,7 @@ xine_osd_t *xine_osd_new(xine_stream_t *stream, int x, int y, int width, int hei } void xine_osd_draw_point(xine_osd_t *this, int x, int y, int color) { - this->osd.area[x + y * this->osd.width] = color; + this->osd.area[y * this->osd.width + x] = color; } void xine_osd_draw_line(xine_osd_t *this, int x1, int y1, int x2, int y2, int color) { -- cgit v1.2.3