r14738 by jghali - #8824: guide manager - column/row - verticals - refer to margins doesn`t work

scribus-commit scribus-commit at lists.scribus.net
Tue Feb 16 21:40:19 CET 2010


Revision: 14738
Author: jghali
Date: 2010-02-16T20:30:13.112242Z
Commit message: #8824: guide manager - column/row - verticals - refer to margins doesn`t work

Changeset: 
M  /branches/Version135/Scribus/scribus/guidemanagercore.cpp

Diffs:
Index: scribus/guidemanagercore.cpp
===================================================================
--- scribus/guidemanagercore.cpp	(revision 14737)
+++ scribus/guidemanagercore.cpp	(revision 14738)
@@ -302,12 +302,12 @@
 		return guides;
 	++value;
 
-	if (m_horizontalAutoRefer == 1)
+	if (m_verticalAutoRefer == 1)
 	{
 		newPageWidth = newPageWidth - page->Margins.Left - page->Margins.Right;
 		offset = page->Margins.Left;
 	}
-	else if (m_horizontalAutoRefer == 2)
+	else if (m_verticalAutoRefer == 2)
 	{
 		if (qRound(page->guides.gx) != 0)
 		{




More information about the scribus-commit mailing list