at v206 328 B view raw
1--- lesstif2-0.95.0.orig/lib/Xm-2.1/RenderTable.c 2+++ lesstif2-0.95.0/lib/Xm-2.1/RenderTable.c 3@@ -465,7 +465,7 @@ 4 DEBUGOUT(_LtDebug(__FILE__, w, "_XmRenderTableFinaliseTag(%s)\n", tag)); 5 #if 1 6 /* Experimental start */ 7- if (r->dpy == 0) 8+ if (r->dpy == 0 && w) 9 r->dpy = XtDisplay(w); 10 /* Experimental end */ 11 #endif