Backed out changeset: 159f9e7014f8

This commit is contained in:
Oliver Duis
2012-05-06 23:04:47 +02:00
parent 1483ecb47c
commit 05226a2875
125 changed files with 747 additions and 750 deletions

View File

@@ -167,7 +167,7 @@ int main(int argc, char **argv)
}
void deleteProcParams(std::vector<rtengine::procparams::PartialProfile*> &pparams) {
for (size_t i=0; i<pparams.size(); i++) {
for (unsigned int i=0; i<pparams.size(); i++) {
pparams[i]->deleteInstance();
delete pparams[i];
pparams[i] = NULL;
@@ -326,7 +326,7 @@ int processLineParams( int argc, char **argv )
}
else {
options.saveUsePathTemplate = true;
if (options.savePathTemplate.empty())
if (!options.savePathTemplate.length())
// If the save path template is empty, we use its default value
options.savePathTemplate = "%p1/converted/%f";
}