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