]> andersk Git - moira.git/commitdiff
better sanity checking in MoiraFocusOut()
authormar <mar>
Mon, 28 Dec 1992 18:22:14 +0000 (18:22 +0000)
committermar <mar>
Mon, 28 Dec 1992 18:22:14 +0000 (18:22 +0000)
clients/mmoira/formup.c

index 43bfde85a21e0f613b9eaee4aa536b41a4ea8d77..9051a280d45b61b1e1b4584022c8b874c966cc89 100644 (file)
@@ -755,7 +755,7 @@ Cardinal *n;
     XmTextRec *tr = (XmTextRec *)w;
     int i;
 
-    if (tr->core.self != w || tr->core.widget_class != xmTextWidgetClass)
+    if (!tr || tr->core.self != w || tr->core.widget_class != xmTextWidgetClass)
       return;
     newvalue = XmTextGetString(w);
     f = WidgetToForm(w);
This page took 0.120415 seconds and 5 git commands to generate.