improve warning message to include the values that don't match

This commit is contained in:
Isaac Connor 2021-05-03 13:18:39 -04:00
parent e5ceed31cc
commit 8bd876d8c8
1 changed files with 2 additions and 1 deletions

View File

@ -1520,7 +1520,8 @@ void Image::Overlay( const Image &image ) {
} }
if ( colours == image.colours && subpixelorder != image.subpixelorder ) { if ( colours == image.colours && subpixelorder != image.subpixelorder ) {
Warning("Attempt to overlay images of same format but with different subpixel order."); Warning("Attempt to overlay images of same format but with different subpixel order %d != %d.",
subpixelorder, image.subpixelorder);
} }
/* Grayscale ontop of grayscale - complete */ /* Grayscale ontop of grayscale - complete */