From 3d5c5880fdc0f3a460a8a35da2bea6590e2f7f62 Mon Sep 17 00:00:00 2001 From: compudj Date: Thu, 19 Aug 2004 06:46:28 +0000 Subject: [PATCH] correct currect time bar git-svn-id: http://ltt.polymtl.ca/svn@821 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c b/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c index 987e3409..ebba555e 100644 --- a/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c +++ b/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c @@ -657,11 +657,11 @@ expose_event( GtkWidget *widget, GdkEventExpose *event, gpointer user_data ) dash_list, 2); } - + gint height_tot = MAX(widget->allocation.height, drawing->height); gdk_draw_line(widget->window, drawing->dotted_gc, - cursor_x, event->area.y, - cursor_x, widget->allocation.height); + cursor_x, 0, + cursor_x, height_tot); } return FALSE; } -- 2.34.1