[goffice] GOFormat: Activate support for negative elapsed times.



commit b4c3832e1b0c9b5090aa3f326fe7376eb43eb415
Author: Morten Welinder <terra gnome org>
Date:   Thu Jun 11 15:06:41 2009 -0400

    GOFormat: Activate support for negative elapsed times.

 ChangeLog                 |    4 ++++
 NEWS                      |    1 +
 goffice/utils/go-format.c |    2 +-
 3 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index b6c922f..28a0495 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-06-11  Morten Welinder  <terra gnome org>
+
+	* goffice/utils/go-format.c (ALLOW_NEGATIVE_TIMES): Turn on.
+
 2009-06-09  Morten Welinder  <terra gnome org>
 
 	* */*.[ch]: Introduce <goffice/goffice.h> as master include file.
diff --git a/NEWS b/NEWS
index 4b852e2..2cf66fa 100644
--- a/NEWS
+++ b/NEWS
@@ -9,6 +9,7 @@ Morten:
 	* Make format classification function public.
 	* Fix inc/dec precision for accounting format.
 	* Introduce master include file.
+	* Activate formatting support for negative elapsed times.
 
 --------------------------------------------------------------------------
 goffice 0.7.7:
diff --git a/goffice/utils/go-format.c b/goffice/utils/go-format.c
index d136b83..9f4262c 100644
--- a/goffice/utils/go-format.c
+++ b/goffice/utils/go-format.c
@@ -53,7 +53,7 @@
 #define OBSERVE_XL_EXPONENT_1
 #define ALLOW_EE_MARKUP
 #define ALLOW_PI_SLASH
-#undef ALLOW_NEGATIVE_TIMES
+#define ALLOW_NEGATIVE_TIMES
 
 /* ------------------------------------------------------------------------- */
 



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