7c09bf2f16
- regen others while here
14 lines
655 B
Plaintext
14 lines
655 B
Plaintext
$OpenBSD: patch-image_imgs_cpp,v 1.3 2011/07/08 11:25:47 jasper Exp $
|
|
--- image/imgs.cpp.orig Wed Sep 29 13:20:24 2010
|
|
+++ image/imgs.cpp Fri Jul 8 13:23:50 2011
|
|
@@ -252,7 +252,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;
|