Fix for minimum OutputFileReduceColorsTo value

This commit is contained in:
RKrom 2014-05-12 15:44:34 +02:00
commit 9a75cdb819

View file

@ -413,8 +413,8 @@ namespace GreenshotPlugin.Core {
if (AutoCropDifference > 255) { if (AutoCropDifference > 255) {
AutoCropDifference = 255; AutoCropDifference = 255;
} }
if (OutputFileReduceColorsTo < 0) { if (OutputFileReduceColorsTo < 2) {
OutputFileReduceColorsTo = 0; OutputFileReduceColorsTo = 2;
} }
if (OutputFileReduceColorsTo > 256) { if (OutputFileReduceColorsTo > 256) {
OutputFileReduceColorsTo = 256; OutputFileReduceColorsTo = 256;