summaryrefslogtreecommitdiff
path: root/source/l/lesstif/lesstif.rendertable.check.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/lesstif/lesstif.rendertable.check.diff')
-rw-r--r--source/l/lesstif/lesstif.rendertable.check.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/l/lesstif/lesstif.rendertable.check.diff b/source/l/lesstif/lesstif.rendertable.check.diff
new file mode 100644
index 00000000..49f877e9
--- /dev/null
+++ b/source/l/lesstif/lesstif.rendertable.check.diff
@@ -0,0 +1,11 @@
+--- ./lib/Xm-2.1/RenderTable.c.orig 2005-06-24 06:36:03.000000000 -0500
++++ ./lib/Xm-2.1/RenderTable.c 2009-03-23 16:34:48.000000000 -0500
+@@ -465,7 +465,7 @@
+ DEBUGOUT(_LtDebug(__FILE__, w, "_XmRenderTableFinaliseTag(%s)\n", tag));
+ #if 1
+ /* Experimental start */
+- if (r->dpy == 0)
++ if (r->dpy == 0 && w)
+ r->dpy = XtDisplay(w);
+ /* Experimental end */
+ #endif