2.5: Fix crash moving area to fullscreen with tooltips. Happened

because C->window->screen and C->screen were different, now made
sure they are set at the same time.
This commit is contained in:
2008-12-18 01:48:24 +00:00
parent 7a5186c53f
commit 241dbe6e85
2 changed files with 4 additions and 3 deletions

View File

@@ -258,6 +258,7 @@ static int screen_area_rip_op(bContext *C, wmOperator *op)
/* allocs new screen and adds to newly created window, using window size */
newsc= screen_add(win, C->screen->id.name+2);
win->screen= newsc;
/* copy area to new screen */
area_copy_data((ScrArea *)newsc->areabase.first, C->area, 0);