summaryrefslogtreecommitdiff
path: root/graphics/zphoto/patches/patch-aa
blob: d13809790c8ba541479d72d259e2d6175a73f82d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$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);