1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
$NetBSD: patch-as,v 1.1 2001/04/05 13:57:17 wiz Exp $
--- xvmisc.c.orig Sun Nov 14 14:05:45 1999
+++ xvmisc.c Sun Nov 14 14:05:49 1999
@@ -522,6 +522,10 @@
if (pcdW) XDestroyWindow(theDisp, pcdW);
+#ifdef HAVE_PNG
+ if (pngW) XDestroyWindow(theDisp, pngW);
+#endif
+
/* if NOT using stdcmap for images, free stdcmap */
if (colorMapMode != CM_STDCMAP) {
int j;
@@ -717,6 +721,10 @@
#ifdef HAVE_TIFF
if (tiffW) XDefineCursor(theDisp, tiffW, otherc);
+#endif
+
+#ifdef HAVE_PNG
+ if (pngW) XDefineCursor(theDisp, pngW, otherc);
#endif
if (pcdW) XDefineCursor(theDisp, pcdW, otherc);
|