Fix bug #19749: browsing path in user preferences would crash.

This commit is contained in:
2009-11-04 08:59:01 +00:00
parent e9ce90c238
commit 834e8aa868

View File

@@ -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);