Bugfix, irc report from slw_sl:

Instert "avail" on object without ipo crashed. Null check missing.
This commit is contained in:
Ton Roosendaal 2008-09-28 17:05:58 +00:00
parent 1e62b58bcc
commit c3794cb983

@ -1744,7 +1744,7 @@ void common_modifykey (short mode)
if (achan && achan->ipo) if (achan && achan->ipo)
icu= achan->ipo->curve.first; icu= achan->ipo->curve.first;
} }
else else if(cks->ipo)
icu= cks->ipo->curve.first; icu= cks->ipo->curve.first;
/* we get adrcodes directly from IPO curves (see method below...) */ /* we get adrcodes directly from IPO curves (see method below...) */