Screen: remove redundant NULL check in ED_area_prevspace
This commit is contained in:
parent
86cfbeec6a
commit
b497eae0a8
|
@ -1631,7 +1631,7 @@ void ED_area_newspace(bContext *C, ScrArea *sa, int type)
|
|||
|
||||
void ED_area_prevspace(bContext *C, ScrArea *sa)
|
||||
{
|
||||
SpaceLink *sl = (sa) ? sa->spacedata.first : CTX_wm_space_data(C);
|
||||
SpaceLink *sl = sa->spacedata.first;
|
||||
|
||||
if (sl && sl->next) {
|
||||
/* workaround for case of double prevspace, render window
|
||||
|
|
Loading…
Reference in New Issue