diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-11-04 11:59:01 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-11-04 11:59:01 +0300 |
commit | 834e8aa868291bf29d8f63c7df8f88c92faf230f (patch) | |
tree | 46d0300b905d307a799096a1596b47dee8659a4d /source | |
parent | e9ce90c23834e0f9154ab97326a55db62d62b4d7 (diff) |
Fix bug #19749: browsing path in user preferences would crash.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/screen/screen_edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/screen/screen_edit.c b/source/blender/editors/screen/screen_edit.c index 57319df23e1..eb8fa66670c 100644 --- a/source/blender/editors/screen/screen_edit.c +++ b/source/blender/editors/screen/screen_edit.c @@ -1511,7 +1511,7 @@ int ED_screen_full_newspace(bContext *C, ScrArea *sa, int type) if(!sa || sa->full==0) newsa= ed_screen_fullarea(C, win, sa); - else + if(!newsa) newsa= sa; ED_area_newspace(C, newsa, type); |