summaryrefslogtreecommitdiff
path: root/packages/lesstif/files/020_render_table_crash.diff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-10-22 17:57:15 +0200
committerKoen Kooi <koen@openembedded.org>2008-10-22 17:57:15 +0200
commit6fe9490eac7366d9da691d4129b8d2d23f19a139 (patch)
tree46a8cdc9a72a8c414a7824225bd76ec8c241fbdb /packages/lesstif/files/020_render_table_crash.diff
parent3836ac00385216dd47d89ec3cebc12e5446feef9 (diff)
parentca7e39e27802da8aecf68d74166ec0d2117c8c70 (diff)
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'packages/lesstif/files/020_render_table_crash.diff')
-rw-r--r--packages/lesstif/files/020_render_table_crash.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/lesstif/files/020_render_table_crash.diff b/packages/lesstif/files/020_render_table_crash.diff
new file mode 100644
index 0000000000..1699dbe190
--- /dev/null
+++ b/packages/lesstif/files/020_render_table_crash.diff
@@ -0,0 +1,11 @@
+--- lesstif2-0.95.0.orig/lib/Xm-2.1/RenderTable.c
++++ lesstif2-0.95.0/lib/Xm-2.1/RenderTable.c
+@@ -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