mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
9ff6ecf5dd
svn path=/nixpkgs/trunk/; revision=12974
12 lines
328 B
Diff
12 lines
328 B
Diff
--- 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
|