Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 2430 → Rev 2431

/branches/Version13x/Scribus/scribus/plugins/scriptplugin/scriptplugin.cpp
528,7 → 528,7
 
// Measurement units understood by Scribus's units.cpp functions are exported as constant conversion
// factors to be used from Python.
for (int i = 0; i < unitGetMaxIndex(); ++i)
for (int i = 0; i <= unitGetMaxIndex(); ++i)
{
PyObject* value = PyFloat_FromDouble(unitGetRatioFromIndex(i));
if (!value)