e3f8b926c6
or may not be an xfig bug)
13 lines
562 B
Text
13 lines
562 B
Text
$NetBSD: patch-ad,v 1.1 2007/09/11 23:49:40 smb Exp $
|
|
|
|
--- SmeLine.c.orig 2000-11-27 08:19:28.000000000 -0500
|
|
+++ SmeLine.c 2007-09-11 17:21:39.000000000 -0400
|
|
@@ -217,7 +217,7 @@
|
|
SmeLineObject entry = (SmeLineObject) w;
|
|
SimpleMenuWidget smw = (SimpleMenuWidget) XtParent (w);
|
|
ThreeDWidget tdw = (ThreeDWidget) smw->simple_menu.threeD;
|
|
- Dimension s = tdw->threeD.shadow_width;
|
|
+ Dimension s = tdw ? tdw->threeD.shadow_width : NULL;
|
|
int y = entry->rectangle.y +
|
|
(int)(entry->rectangle.height - entry->sme_line.line_width) / 2;
|
|
|