goffice r2313 - in branches/goffice-0-6: . plugins/plot_barcol



Author: jbrefort
Date: Thu Feb 19 19:27:25 2009
New Revision: 2313
URL: http://svn.gnome.org/viewvc/goffice?rev=2313&view=rev

Log:
2009-02-19  Jean Brefort  <jean brefort normalesup org>

	* plugins/plot_barcol/gog-1.5d.c: (gog_plot1_5d_update): don't set
	a value to an invalid length variable. [#572354]



Modified:
   branches/goffice-0-6/ChangeLog
   branches/goffice-0-6/NEWS
   branches/goffice-0-6/plugins/plot_barcol/gog-1.5d.c

Modified: branches/goffice-0-6/NEWS
==============================================================================
--- branches/goffice-0-6/NEWS	(original)
+++ branches/goffice-0-6/NEWS	Thu Feb 19 19:27:25 2009
@@ -1,3 +1,9 @@
+goffice 0.6.7:
+
+Jean:
+	* Fixed crash when adding series to bar chart. [#572354]
+	
+--------------------------------------------------------------------------
 goffice 0.6.6:
 
 Hib Eris:

Modified: branches/goffice-0-6/plugins/plot_barcol/gog-1.5d.c
==============================================================================
--- branches/goffice-0-6/plugins/plot_barcol/gog-1.5d.c	(original)
+++ branches/goffice-0-6/plugins/plot_barcol/gog-1.5d.c	Thu Feb 19 19:27:25 2009
@@ -235,7 +235,6 @@
 			series = ptr->data;
 			/* we are guaranteed that at least 1 series is valid above */
 			if (!gog_series_is_valid (GOG_SERIES (series))) {
-				lengths[i] = 0;
 				continue;
 			}
 			vals[i] = go_data_vector_get_values (



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]