Quick bugfix: notifiers was reading NULL pointer after a file read.
This commit is contained in:
Ton Roosendaal 2008-12-28 14:41:33 +00:00
parent f7307c13e3
commit 149651b2f2

@ -116,7 +116,7 @@ void ED_region_do_listen(ARegion *ar, wmNotifier *note)
ED_region_tag_redraw(ar);
break;
default:
if(ar->type->listener)
if(ar->type && ar->type->listener)
ar->type->listener(ar, note);
}
}