Re-applied patch for issue #70 (must have been reverted by accident)

This commit is contained in:
Wyatt Olson 2010-05-04 11:30:38 -06:00
parent 84fa51267e
commit 9b1b1ca8a7

View File

@ -546,9 +546,9 @@ bool Thumbnail::writeImage (const Glib::ustring& fname, int format) {
if (thumbImg->r[row][col]>max)
max = thumbImg->r[row][col];
if (thumbImg->g[row][col]>max)
max = thumbImg->r[row][col];
max = thumbImg->g[row][col];
if (thumbImg->b[row][col]>max)
max = thumbImg->r[row][col];
max = thumbImg->b[row][col];
}
if (max < 16384)
max = 16384;