goffice r2314 - in trunk: . plugins/plot_barcol



Author: jbrefort
Date: Thu Feb 19 19:28:14 2009
New Revision: 2314
URL: http://svn.gnome.org/viewvc/goffice?rev=2314&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:
   trunk/ChangeLog
   trunk/NEWS
   trunk/plugins/plot_barcol/gog-1.5d.c

Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS	(original)
+++ trunk/NEWS	Thu Feb 19 19:28:14 2009
@@ -24,6 +24,7 @@
 	* Make possible to add an application specific custom widget to the
 	graph editor.
 	* Fixed critical in graph_typeselect_minor. [#567931]
+	* Fixed crash when adding series to bar chart. [#572354]
 
 Morten:
 	* Plug leaks.

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	Thu Feb 19 19:28:14 2009
@@ -236,7 +236,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]