Commit 37c5252c authored by Milan Crha's avatar Milan Crha
Browse files

Fix Copy&Paste error found by Coverity scan

parent d52ad105
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment