Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 25100 → Rev 25102

/trunk/Scribus/scribus/ui/outputpreview_pdf.cpp
740,8 → 740,9
counter++;
}
}
sepInfo.close();
}
sepInfo.close();
 
QString currSeps;
uint spc = 0;
for (int sp = 0; sp < spots.count(); ++sp)
748,7 → 749,7
{
currSeps += "(" + spots[sp] + ") ";
spc++;
if (sp > 6)
if (spc > 6)
{
args3.clear();
args3.append("-sDEVICE=tiffsep");
762,7 → 763,7
args3.append("-f");
args3.append(QDir::toNativeSeparators(ScPaths::tempFileDir() + "/" + m_tempBaseName + ".sep.ps"));
ret = System(gsExe, args1 + args3 + args2);
currSeps = "";
currSeps.clear();
spc = 0;
}
}
/trunk/Scribus/scribus/ui/outputpreview_ps.cpp
779,8 → 779,9
counter++;
}
}
sepInfo.close();
}
sepInfo.close();
 
QString currSeps;
uint spc = 0;
for (int sp = 0; sp < spots.count(); ++sp)
787,7 → 788,7
{
currSeps += "(" + spots[sp] + ") ";
spc++;
if (sp > 6)
if (spc > 6)
{
args3.clear();
args3.append("-sDEVICE=tiffsep");
801,7 → 802,7
args3.append("-f");
args3.append(QDir::toNativeSeparators(ScPaths::tempFileDir() + "/" + m_tempBaseName + ".sep.ps"));
ret = System(gsExe, args1 + args3 + args2);
currSeps = "";
currSeps.clear();
spc = 0;
}
}