14 lines
658 B
Plaintext
14 lines
658 B
Plaintext
$OpenBSD: patch-image_imgs_cpp,v 1.4 2011/12/22 09:47:50 ajacoutot Exp $
|
|
--- image/imgs.cpp.orig Sat Oct 22 04:21:01 2011
|
|
+++ image/imgs.cpp Wed Dec 21 19:12:28 2011
|
|
@@ -248,7 +248,8 @@ inT32 check_legal_image_size( //ge
|
|
}
|
|
if (bits_per_pixel != 1 && bits_per_pixel != 2
|
|
&& bits_per_pixel != 4 && bits_per_pixel != 5
|
|
- && bits_per_pixel != 6 && bits_per_pixel != 8 && bits_per_pixel != 24
|
|
+ && bits_per_pixel != 6 && bits_per_pixel != 8
|
|
+ && bits_per_pixel != 16 && bits_per_pixel != 24
|
|
&& bits_per_pixel != 32) {
|
|
BADBPP.error ("check_legal_image_size", TESSLOG, "%d", bits_per_pixel);
|
|
return -1;
|