r14961 by fschmid - Fixed the bug that pasted object get misplaced when the target page has an Y-Position larger than 99999 pts

scribus-commit scribus-commit at lists.scribus.net
Sun Apr 11 00:10:36 CEST 2010


Revision: 14961
Author: fschmid
Date: 2010-04-10T22:09:10.194896Z
Commit message: Fixed the bug that pasted object get misplaced when the target page has an Y-Position larger than 99999 pts

Changeset: 
M  /trunk/Scribus/scribus/selection.cpp

Diffs:
Index: scribus/selection.cpp
===================================================================
--- scribus/selection.cpp	(revision 14960)
+++ scribus/selection.cpp	(revision 14961)
@@ -392,15 +392,15 @@
 void Selection::setGroupRect()
 {
 	PageItem *currItem;
-	double minx = 99999.9;
-	double miny = 99999.9;
-	double maxx = -99999.9;
-	double maxy = -99999.9;
+	double minx = 9999999.9;
+	double miny = 9999999.9;
+	double maxx = -9999999.9;
+	double maxy = -9999999.9;
 	
-	double vminx = 99999.9;
-	double vminy = 99999.9;
-	double vmaxx = -99999.9;
-	double vmaxy = -99999.9;
+	double vminx = 9999999.9;
+	double vminy = 9999999.9;
+	double vmaxx = -9999999.9;
+	double vmaxy = -9999999.9;
 	uint selectedItemCount=count();
 	for (uint gc = 0; gc < selectedItemCount; ++gc)
 	{




More information about the scribus-commit mailing list