gnumeric r16287 - trunk/src



Author: jody
Date: Thu Jan 24 14:43:11 2008
New Revision: 16287
URL: http://svn.gnome.org/viewvc/gnumeric?rev=16287&view=rev

Log:
cut-n-paste-o


Modified:
   trunk/src/xml-io.c
   trunk/src/xml-sax-read.c

Modified: trunk/src/xml-io.c
==============================================================================
--- trunk/src/xml-io.c	(original)
+++ trunk/src/xml-io.c	Thu Jan 24 14:43:11 2008
@@ -1713,7 +1713,7 @@
 			/* Patch problems introduced in some 1.7.x versions that stored
 			 * comments in merged cells with the full rectangle of the merged cell
 			 * rather than just the top left corner */
-			if (G_OBJECT_TYPE (so) != CELL_COMMENT_TYPE)
+			if (G_OBJECT_TYPE (so) == CELL_COMMENT_TYPE)
 				r.end = r.start;
 			so->anchor.cell_bound = r;
 		}

Modified: trunk/src/xml-sax-read.c
==============================================================================
--- trunk/src/xml-sax-read.c	(original)
+++ trunk/src/xml-sax-read.c	Thu Jan 24 14:43:11 2008
@@ -2062,7 +2062,7 @@
 	/* Patch problems introduced in some 1.7.x versions that stored
 	 * comments in merged cells with the full rectangle of the merged cell
 	 * rather than just the top left corner */
-	if (G_OBJECT_TYPE (so) != CELL_COMMENT_TYPE)
+	if (G_OBJECT_TYPE (so) == CELL_COMMENT_TYPE)
 		anchor_r.end = anchor_r.start;
 
 	sheet_object_anchor_init (&anchor, &anchor_r, anchor_offset, anchor_dir);



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