From d6d484343bc0c2e093d2cd7741bc6be0f70ade14 Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Tue, 9 Oct 2012 18:58:15 -0400 Subject: [PATCH] workaround crash on startup with test.alhConfig --- axRunW.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/axRunW.c b/axRunW.c index f45c9af..631f64a 100644 --- a/axRunW.c +++ b/axRunW.c @@ -378,7 +378,7 @@ void silenceCurrentReset(void *area) { if (psetup.silenceCurrent) { psetup.silenceCurrent = FALSE; - if (((ALINK*)area)->silenceCurrent) { + if (area && ((ALINK*)area)->silenceCurrent) { XmToggleButtonGadgetSetState(((ALINK*)area)->silenceCurrent, FALSE,FALSE); }