Fix mistake in previous fix for T52640.

This commit is contained in:
Brecht Van Lommel 2017-09-06 17:21:58 +02:00
parent 16fbb47c88
commit 82ede9de48
1 changed files with 1 additions and 1 deletions

View File

@ -1900,7 +1900,7 @@ ScrArea *ED_screen_state_toggle(bContext *C, wmWindow *win, ScrArea *sa, const s
sc->state = SCREENNORMAL;
/* find old area to restore from */
ScrArea *fullsa;
ScrArea *fullsa = NULL;
for (ScrArea *old = sc->areabase.first; old; old = old->next) {
/* area to restore from is always first */
if (old->full && !fullsa) {