r17685 by jghali - #10848: The constants ALIGN_BLOCK and ALIGN_FORCED are both set to a value of 4

scribus-commit scribus-commit at lists.scribus.net
Thu Jul 5 20:14:34 UTC 2012


Author: jghali
Date: Thu Jul  5 20:14:34 2012
New Revision: 17685

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17685
Log:
#10848: The constants ALIGN_BLOCK and ALIGN_FORCED are both set to a value of 4

Modified:
    branches/Version14x/Scribus/scribus/plugins/scriptplugin/scriptplugin.cpp

Modified: branches/Version14x/Scribus/scribus/plugins/scriptplugin/scriptplugin.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17685&path=/branches/Version14x/Scribus/scribus/plugins/scriptplugin/scriptplugin.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/plugins/scriptplugin/scriptplugin.cpp (original)
+++ branches/Version14x/Scribus/scribus/plugins/scriptplugin/scriptplugin.cpp Thu Jul  5 20:14:34 2012
@@ -578,7 +578,7 @@
 	PyDict_SetItemString(d, const_cast<char*>("ALIGN_LEFT"), Py_BuildValue(const_cast<char*>("i"), 0));
 	PyDict_SetItemString(d, const_cast<char*>("ALIGN_RIGHT"), Py_BuildValue(const_cast<char*>("i"), 2));
 	PyDict_SetItemString(d, const_cast<char*>("ALIGN_CENTERED"), Py_BuildValue(const_cast<char*>("i"), 1));
-	PyDict_SetItemString(d, const_cast<char*>("ALIGN_BLOCK"), Py_BuildValue(const_cast<char*>("i"), 4));
+	PyDict_SetItemString(d, const_cast<char*>("ALIGN_BLOCK"), Py_BuildValue(const_cast<char*>("i"), 3));
 	PyDict_SetItemString(d, const_cast<char*>("ALIGN_FORCED"), Py_BuildValue(const_cast<char*>("i"), 4));
 	PyDict_SetItemString(d, const_cast<char*>("FILL_NOG"), Py_BuildValue(const_cast<char*>("i"), 0));
 	PyDict_SetItemString(d, const_cast<char*>("FILL_HORIZONTALG"), Py_BuildValue(const_cast<char*>("i"), 1));




More information about the scribus-commit mailing list