[gnumeric: 2/3] Fix saving of diagonal borders



commit d915c1994cf6785e5206e6efb2f93ea1ba84d180
Author: Andreas J. Guelzow <aguelzow pyrshep ca>
Date:   Sat May 16 16:53:50 2009 -0600

    Fix saving of diagonal borders
    
    2009-05-16  Andreas J. Guelzow <aguelzow pyrshep ca>
    
    	* src/xml-sax-write.c (xml_write_style): since we index into the
    	  array with our enum we should make the order match.
---
 ChangeLog           |    5 +++++
 src/xml-sax-write.c |    4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 543e09c..f4353b0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2009-05-16  Andreas J. Guelzow <aguelzow pyrshep ca>
 
+	* src/xml-sax-write.c (xml_write_style): since we index into the 
+	  array with our enum we should make the order match.
+
+2009-05-16  Andreas J. Guelzow <aguelzow pyrshep ca>
+
 	* schemas/gnumeric-dialogs.schemas.in: fix some long descriptions
 	* schemas/gnumeric-general.schemas.in: ditto
 	* src/gnm-plugin.c: add a translator comment
diff --git a/src/xml-sax-write.c b/src/xml-sax-write.c
index 879a14d..3a159c1 100644
--- a/src/xml-sax-write.c
+++ b/src/xml-sax-write.c
@@ -393,8 +393,8 @@ xml_write_style (GnmOutputXML *state, GnmStyle const *style)
 		GNM "Bottom",
 		GNM "Left",
 		GNM "Right",
-		GNM "Diagonal",
-		GNM "Rev-Diagonal"
+		GNM "Rev-Diagonal",
+		GNM "Diagonal"
 	};
 	GnmValidation const *v;
 	GnmHLink   const *link;



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