openbsd-ports/graphics/fxtv/patches/patch-xutil_c
naddy 87674e8f6a Complete overhaul of this port.
Submitted by Wilbern Cobb <vedge@csoft.org>.
2002-02-02 00:52:18 +00:00

18 lines
543 B
Plaintext

$OpenBSD: patch-xutil_c,v 1.1 2002/02/02 00:52:18 naddy Exp $
--- xutil.c.orig Thu Nov 4 20:38:54 1999
+++ xutil.c Wed Aug 15 13:46:30 2001
@@ -406,11 +406,12 @@ TV_BOOL XUTILPixmapLoad( char *pixmap
}
*pixmap = pix_returned;
- if ( pix_mask_returned )
+ if ( pix_mask_returned ) {
if ( pixmap_mask != NULL )
*pixmap_mask = pix_mask_returned;
else
XFreePixmap( XtDisplay( wgt ), pix_mask_returned );
+ }
}
if ( pixmap_path != NULL )