Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2008-12-28 17:41:33 +0300
committerTon Roosendaal <ton@blender.org>2008-12-28 17:41:33 +0300
commit149651b2f22f75fec835128a36f031b2490892ef (patch)
tree5a3b6ca7afc769a979d8ac5fa041a3dedded6ebc /source/blender/editors/screen/area.c
parentf7307c13e3d9ac0ec040ecdd713894be3d0f4bee (diff)
2.5
Quick bugfix: notifiers was reading NULL pointer after a file read.
Diffstat (limited to 'source/blender/editors/screen/area.c')
-rw-r--r--source/blender/editors/screen/area.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c
index b63777cccf0..bf7b76cc7f8 100644
--- a/source/blender/editors/screen/area.c
+++ b/source/blender/editors/screen/area.c
@@ -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);
}
}