Merge branch 'master' into pixelshift

This commit is contained in:
heckflosse
2017-01-22 23:06:08 +01:00
26 changed files with 123 additions and 75 deletions

View File

@@ -5475,7 +5475,7 @@ int ProcParams::load (const Glib::ustring &fname, ParamsEdited* pedited)
}
if (keyFile.has_key ("Crop", "W")) {
crop.w = keyFile.get_integer ("Crop", "W");
crop.w = std::max(keyFile.get_integer("Crop", "W"), 1);
if (pedited) {
pedited->crop.w = true;
@@ -5483,7 +5483,7 @@ int ProcParams::load (const Glib::ustring &fname, ParamsEdited* pedited)
}
if (keyFile.has_key ("Crop", "H")) {
crop.h = keyFile.get_integer ("Crop", "H");
crop.h = std::max(keyFile.get_integer("Crop", "H"), 1);
if (pedited) {
pedited->crop.h = true;