r14739 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:34 CET 2010


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

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

Diffs:
Index: scribus/guidemanagercore.cpp
===================================================================
--- scribus/guidemanagercore.cpp	(revision 14738)
+++ scribus/guidemanagercore.cpp	(revision 14739)
@@ -303,12 +303,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