pkgsrc/graphics/zphoto/patches/patch-aa
xtraeme 1d528c4c88 Initial import of zphoto-1.2.2 from pkgsrc-wip, packaged by
OBATA Akio.

zphoto - a flash-based photo album generator.
2006-08-12 16:20:35 +00:00

13 lines
587 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2006/08/12 16:20:35 xtraeme Exp $
--- wxzphoto.cpp.orig 2006-08-12 18:17:15.000000000 +0200
+++ wxzphoto.cpp 2006-08-12 18:17:21.000000000 +0200
@@ -1166,7 +1166,7 @@
int width, height;
unsigned char *bare_bitmap =
zphoto_image_get_bitmap(filename.c_str(), &width, &height);
- wxImage image = wxImage(width, height, bare_bitmap, FALSE);
+ wxImage image = wxImage(width, height, bare_bitmap, 0, FALSE);
return wxBitmap(image);
} else {
return wxBitmap(filename, wxBITMAP_TYPE_ANY);