summaryrefslogtreecommitdiff
path: root/wm/icewm13/patches/patch-src_yimage.cc
diff options
context:
space:
mode:
Diffstat (limited to 'wm/icewm13/patches/patch-src_yimage.cc')
-rw-r--r--wm/icewm13/patches/patch-src_yimage.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/wm/icewm13/patches/patch-src_yimage.cc b/wm/icewm13/patches/patch-src_yimage.cc
new file mode 100644
index 00000000000..22e38bf6fe2
--- /dev/null
+++ b/wm/icewm13/patches/patch-src_yimage.cc
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_yimage.cc,v 1.1 2018/11/22 04:56:03 ryo Exp $
+
+--- src/yimage.cc.orig 2013-11-17 16:54:39.000000000 +0000
++++ src/yimage.cc
+@@ -246,7 +246,7 @@ YPixmap::~YPixmap() {
+ }
+
+ void YPixmap::replicate(bool horiz, bool copyMask) {
+- if (this == NULL || pixmap() == None || (fMask == None && copyMask))
++ if (pixmap() == None || (fMask == None && copyMask))
+ return;
+
+ int dim(horiz ? width() : height());