[goffice] Fixed typo (and #746169).
- From: Jean Bréfort <jbrefort src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice] Fixed typo (and #746169).
- Date: Fri, 13 Mar 2015 18:42:23 +0000 (UTC)
commit b20ab3937cb94369cb6f4a61f621adc1f60694de
Author: Jean Brefort <jean brefort normalesup org>
Date: Fri Mar 13 19:42:05 2015 +0100
Fixed typo (and #746169).
ChangeLog | 6 ++++++
goffice/canvas/goc-line.c | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 6be140a..dd285b6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-03-13 Jean Brefort <jean brefort normalesup org>
+
+ reviewed by: <delete if not using a buddy>
+
+ * goffice/canvas/goc-line.c (goc_line_draw):
+
2015-03-12 Morten Welinder <terra gnome org>
* goffice/graph/gog-axis.c (gog_axis_data_get_bounds): New
diff --git a/goffice/canvas/goc-line.c b/goffice/canvas/goc-line.c
index 5b02b9d..88f2a9a 100644
--- a/goffice/canvas/goc-line.c
+++ b/goffice/canvas/goc-line.c
@@ -260,7 +260,7 @@ goc_line_draw (GocItem const *item, cairo_t *cr)
if ((endx != 0. || endy!= 0.) &&
go_styled_object_set_cairo_line (GO_STYLED_OBJECT (item), cr)) {
/* try to avoid horizontal and vertical lines between two pixels */
- cairo_move_to (cr, startx, endx);
+ cairo_move_to (cr, startx, starty);
cairo_line_to (cr, endx, endy);
cairo_stroke (cr);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]