Skip to content

Commit

Permalink
workaround crash on startup with test.alhConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Davidsaver committed Oct 9, 2012
1 parent 039f535 commit d6d4843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion axRunW.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit d6d4843

Please sign in to comment.