goffice r2249 - in trunk: . plugins/plot_surface
- From: jbrefort svn gnome org
- To: svn-commits-list gnome org
- Subject: goffice r2249 - in trunk: . plugins/plot_surface
- Date: Fri, 24 Oct 2008 09:30:58 +0000 (UTC)
Author: jbrefort
Date: Fri Oct 24 09:30:58 2008
New Revision: 2249
URL: http://svn.gnome.org/viewvc/goffice?rev=2249&view=rev
Log:
2008-10-24 Jean Brefort <jean brefort normalesup org>
* plugins/plot_surface/gog-xyz.c: (gog_xyz_plot_axis_get_bounds):
make things work when there is no data for an axis.
Modified:
trunk/ChangeLog
trunk/plugins/plot_surface/gog-xyz.c
Modified: trunk/plugins/plot_surface/gog-xyz.c
==============================================================================
--- trunk/plugins/plot_surface/gog-xyz.c (original)
+++ trunk/plugins/plot_surface/gog-xyz.c Fri Oct 24 09:30:58 2008
@@ -285,7 +285,7 @@
}
if (bounds->fmt == NULL && fmt != NULL)
bounds->fmt = go_format_ref (fmt);
- if (go_finite (min)) {
+ if (go_finite (min) && vec) {
bounds->logical.minima = bounds->val.minima = min;
bounds->logical.maxima = bounds->val.maxima = max;
bounds->is_discrete = FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]