aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-11-30 15:39:32 +0800
committerMilan Crha <mcrha@redhat.com>2012-11-30 15:39:32 +0800
commit37c5252c9b29666ca86507040d545d831d0726a6 (patch)
tree8cfc743df0c88b6222eb96fa451423464d9e2ca7 /calendar
parentd52ad1054d509bbe02809b7f5a9471e95727ef08 (diff)
downloadgsoc2013-evolution-37c5252c9b29666ca86507040d545d831d0726a6.tar.gz
gsoc2013-evolution-37c5252c9b29666ca86507040d545d831d0726a6.tar.zst
gsoc2013-evolution-37c5252c9b29666ca86507040d545d831d0726a6.zip
Fix Copy&Paste error found by Coverity scan
Diffstat (limited to 'calendar')
-rw-r--r--calendar/gui/e-week-view-event-item.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/e-week-view-event-item.c b/calendar/gui/e-week-view-event-item.c
index f517159e1b..1aa507deb4 100644
--- a/calendar/gui/e-week-view-event-item.c
+++ b/calendar/gui/e-week-view-event-item.c
@@ -1025,7 +1025,7 @@ week_view_event_item_draw (GnomeCanvasItem *canvas_item,
gdk_cairo_set_source_color (cr, color);
cairo_set_line_width (cr, 0.7);
/* rect_x2 is used uninitialized here */
- cairo_move_to (cr, rect_x2, y2);
+ cairo_move_to (cr, rect_x2, y1);
cairo_line_to (cr, rect_x2, y2);
cairo_stroke (cr);
cairo_restore (cr);