goffice r2036 - in trunk: . plugins/plot_barcol
- From: jbrefort svn gnome org
- To: svn-commits-list gnome org
- Subject: goffice r2036 - in trunk: . plugins/plot_barcol
- Date: Sun, 10 Feb 2008 13:48:50 +0000 (GMT)
Author: jbrefort
Date: Sun Feb 10 13:48:50 2008
New Revision: 2036
URL: http://svn.gnome.org/viewvc/goffice?rev=2036&view=rev
Log:
2008-02-10 Jean Brefort <jean brefort normalesup org>
* plugins/plot_barcol/gog-1.5d.c: (gog_plot1_5d_update): set
lentgh to 0 for invalid series. Fixes #514642.
Modified:
trunk/ChangeLog
trunk/NEWS
trunk/plugins/plot_barcol/gog-1.5d.c
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Sun Feb 10 13:48:50 2008
@@ -1,3 +1,9 @@
+goffice 0.6.2:
+
+Jean:
+ * Set Lentgh to 0 for invalid series in 1.5d plots. Fixes #514642.
+
+--------------------------------------------------------------------------
goffice 0.6.1:
Misc:
Modified: trunk/plugins/plot_barcol/gog-1.5d.c
==============================================================================
--- trunk/plugins/plot_barcol/gog-1.5d.c (original)
+++ trunk/plugins/plot_barcol/gog-1.5d.c Sun Feb 10 13:48:50 2008
@@ -235,8 +235,10 @@
for (ptr = model->base.series ; ptr != NULL ; ptr = ptr->next, i++) {
series = ptr->data;
/* we are guaranteed that at least 1 series is valid above */
- if (!gog_series_is_valid (GOG_SERIES (series)))
+ if (!gog_series_is_valid (GOG_SERIES (series))) {
+ lengths[i] = 0;
continue;
+ }
vals[i] = go_data_vector_get_values (
GO_DATA_VECTOR (series->base.values[1].data));
g_object_get (G_OBJECT (series), "errors", errors + i, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]