[goffice] Remove extra spaces.
- From: Jean BrÃfort <jbrefort src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice] Remove extra spaces.
- Date: Sun, 7 Aug 2011 15:09:15 +0000 (UTC)
commit 1eeb517d9e0d79487606f1fb8eb43dd16dea2746
Author: Jean Brefort <jean brefort normalesup org>
Date: Sun Aug 7 17:13:20 2011 +0200
Remove extra spaces.
goffice/canvas/goc-graph.c | 2 +-
goffice/graph/gog-axis.c | 8 ++++----
goffice/utils/go-format.c | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/goffice/canvas/goc-graph.c b/goffice/canvas/goc-graph.c
index 41776d8..e66ee3a 100644
--- a/goffice/canvas/goc-graph.c
+++ b/goffice/canvas/goc-graph.c
@@ -297,7 +297,7 @@ goc_graph_do_tooltip (GocGraph *graph)
/* get the axis */
x_axis = gog_plot_get_axis (plot, GOG_AXIS_X);
gog_axis_get_effective_span (x_axis, &start, &end);
- if (x < alloc.x + alloc.w * start || x > alloc.x + alloc.w * end)
+ if (x < alloc.x + alloc.w * start || x > alloc.x + alloc.w * end)
break;
y_axis = gog_plot_get_axis (plot, GOG_AXIS_Y);
gog_axis_get_effective_span (y_axis, &start, &end);
diff --git a/goffice/graph/gog-axis.c b/goffice/graph/gog-axis.c
index 293dc9f..03bfd7b 100644
--- a/goffice/graph/gog-axis.c
+++ b/goffice/graph/gog-axis.c
@@ -1714,7 +1714,7 @@ void
gog_axis_map_get_extents (GogAxisMap *map, double *start, double *stop)
{
g_return_if_fail (map != NULL);
-
+
if (map->axis->inverted)
map->desc->map_bounds (map, stop, start);
else
@@ -1742,7 +1742,7 @@ void
gog_axis_map_get_bounds (GogAxisMap *map, double *minimum, double *maximum)
{
g_return_if_fail (map != NULL);
-
+
map->desc->map_bounds (map, minimum, maximum);
if (map->axis->type != GOG_AXIS_CIRCULAR) {
double buf = (*minimum - *maximum) / (map->axis->span_end - map->axis->span_start);
@@ -2087,14 +2087,14 @@ gog_axis_set_property (GObject *obj, guint param_id,
case AXIS_PROP_SPAN_START:
if (axis->type != GOG_AXIS_CIRCULAR) {
double new_value = g_value_get_double (value);
- g_return_if_fail (new_value < axis->span_end);
+ g_return_if_fail (new_value < axis->span_end);
axis->span_start = new_value;
}
break;
case AXIS_PROP_SPAN_END:
if (axis->type != GOG_AXIS_CIRCULAR) {
double new_value = g_value_get_double (value);
- g_return_if_fail (new_value > axis->span_start);
+ g_return_if_fail (new_value > axis->span_start);
axis->span_end = new_value;
}
break;
diff --git a/goffice/utils/go-format.c b/goffice/utils/go-format.c
index 9fd890b..778acb7 100644
--- a/goffice/utils/go-format.c
+++ b/goffice/utils/go-format.c
@@ -6820,7 +6820,7 @@ go_format_output_scientific_number_to_odf (GsfXMLOut *xout, GOFormat const *fmt,
use_literal_E = FALSE;
} else
use_literal_E = TRUE;
-
+
while (*xl == '0' || *xl == '+' || *xl == '-')
if (*xl++ == '0')
min_exponent_digits++;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]