r14144 by jghali - #8515: error in BleedAndPrintMarks script
scribus-commit
scribus-commit at lists.scribus.net
Mon Oct 12 20:25:25 CEST 2009
Revision: 14144
Author: jghali
Date: 2009-10-12T17:12:01.712934Z
Commit message: #8515: error in BleedAndPrintMarks script
Changeset:
M /branches/Version133x/Scribus/scribus/plugins/scriptplugin/cmddoc.cpp
Diffs:
Index: scribus/plugins/scriptplugin/cmddoc.cpp
===================================================================
--- scribus/plugins/scriptplugin/cmddoc.cpp (revision 14143)
+++ scribus/plugins/scriptplugin/cmddoc.cpp (revision 14144)
@@ -211,7 +211,7 @@
return NULL;
if(!checkHaveDocument())
return NULL;
- if ((e < 0) || (e > 3))
+ if ((e < UNITMIN) || (e > UNITMAX))
{
PyErr_SetString(PyExc_ValueError, QObject::tr("Unit out of range. Use one of the scribus.UNIT_* constants.","python error"));
return NULL;
More information about the scribus-commit
mailing list