r19573 by jghali - #12767: Fix wrong word in python error string

scribus-commit scribus-commit at lists.scribus.net
Sat Oct 11 20:10:15 UTC 2014


Author: jghali
Date: Sat Oct 11 20:10:15 2014
New Revision: 19573

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19573
Log:
#12767: Fix wrong word in python error string

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

Modified: branches/Version14x/Scribus/scribus/plugins/scriptplugin/objpdffile.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19573&path=/branches/Version14x/Scribus/scribus/plugins/scriptplugin/objpdffile.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/plugins/scriptplugin/objpdffile.cpp (original)
+++ branches/Version14x/Scribus/scribus/plugins/scriptplugin/objpdffile.cpp Sat Oct 11 20:10:15 2014
@@ -657,7 +657,7 @@
 	}
 	int n = PyInt_AsLong(value);
 	if (n<35 || n>4000) {
-		PyErr_SetString(PyExc_ValueError, "'compress' value must be in interval from 35 to 4000");
+		PyErr_SetString(PyExc_ValueError, "'resolution' value must be in interval from 35 to 4000");
 		return -1;
 	}
 	Py_DECREF(self->resolution);




More information about the scribus-commit mailing list