Re-applied patch for issue #70 (must have been reverted by accident)
This commit is contained in:
parent
84fa51267e
commit
9b1b1ca8a7
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user