[gnumeric] Cell format: actually return the intended result.



commit ffd85edb736177076d4b295ea283cca02def88c7
Author: Morten Welinder <terra gnome org>
Date:   Mon Nov 19 16:32:24 2012 -0500

    Cell format: actually return the intended result.

 ChangeLog  |    5 +++++
 NEWS       |    3 +++
 src/cell.c |    2 +-
 3 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 9967a02..8a49998 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-11-19  Morten Welinder  <terra gnome org>
+
+	* src/cell.c (gnm_cell_get_format): Actually return the result.
+	Ugh.
+
 2012-11-16  Morten Welinder <terra gnome org>
 
 	* configure.in: Post-release bump.
diff --git a/NEWS b/NEWS
index 2dad279..35b292b 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,9 @@ Gnumeric 1.11.91
 Andreas:
 	* Update the Gnumeric manual.
 
+Morten:
+	* Fix format problem.
+
 --------------------------------------------------------------------------
 Gnumeric 1.11.90
 
diff --git a/src/cell.c b/src/cell.c
index 68991e7..77b9988 100644
--- a/src/cell.c
+++ b/src/cell.c
@@ -955,7 +955,7 @@ gnm_cell_get_format_given_style (GnmCell const *cell, GnmStyle const *style)
 GOFormat const *
 gnm_cell_get_format (GnmCell const *cell)
 {
-	gnm_cell_get_format_given_style (cell, NULL);	
+	return gnm_cell_get_format_given_style (cell, NULL);	
 }
 
 /*



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