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

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


Author: jghali
Date: Sat Oct 11 20:10:52 2014
New Revision: 19574

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

Modified:
    trunk/Scribus/scribus/plugins/scriptplugin/objpdffile.cpp

Modified: trunk/Scribus/scribus/plugins/scriptplugin/objpdffile.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19574&path=/trunk/Scribus/scribus/plugins/scriptplugin/objpdffile.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/scriptplugin/objpdffile.cpp (original)
+++ trunk/Scribus/scribus/plugins/scriptplugin/objpdffile.cpp Sat Oct 11 20:10:52 2014
@@ -700,7 +700,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