[evolution] Fix Copy&Paste error found by Coverity scan
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Fix Copy&Paste error found by Coverity scan
- Date: Fri, 30 Nov 2012 07:39:48 +0000 (UTC)
commit 37c5252c9b29666ca86507040d545d831d0726a6
Author: Milan Crha <mcrha redhat com>
Date: Fri Nov 30 08:39:32 2012 +0100
Fix Copy&Paste error found by Coverity scan
calendar/gui/e-week-view-event-item.c | 2 +-
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 f517159..1aa507d 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]