Pressing Tkey in empty action window crashed... bad pointer handling.

This commit is contained in:
Ton Roosendaal
2006-03-12 13:03:40 +00:00
parent 8a8c70c63a
commit bd151b30ab

View File

@@ -673,7 +673,6 @@ void borderselect_action(void)
act=G.saction->action;
if (!act)
return;
@@ -862,7 +861,8 @@ void transform_actionchannel_keys(int mode, int dummy)
char str[256];
act=G.saction->action;
if(act==NULL) return;
/* Ensure that partial selections result in beztriple selections */
for (chan=act->chanbase.first; chan; chan=chan->next){
if((chan->flag & ACHAN_HIDDEN)==0) {