Cleanup: Ugly typo (retore->restore)
This commit is contained in:
parent
f7e844570f
commit
c2af749ac3
|
@ -107,7 +107,7 @@ void ED_screen_set_subwinactive(struct bContext *C, struct wmEvent *event);
|
|||
void ED_screen_exit(struct bContext *C, struct wmWindow *window, struct bScreen *screen);
|
||||
void ED_screen_animation_timer(struct bContext *C, int redraws, int refresh, int sync, int enable);
|
||||
void ED_screen_animation_timer_update(struct bScreen *screen, int redraws, int refresh);
|
||||
void ED_screen_retore_temp_type(struct bContext *C, ScrArea *sa, bool is_screen_change);
|
||||
void ED_screen_restore_temp_type(struct bContext *C, ScrArea *sa, bool is_screen_change);
|
||||
ScrArea *ED_screen_full_newspace(struct bContext *C, ScrArea *sa, int type);
|
||||
void ED_screen_full_prevspace(struct bContext *C, ScrArea *sa);
|
||||
void ED_screen_full_restore(struct bContext *C, ScrArea *sa);
|
||||
|
|
|
@ -1773,7 +1773,7 @@ void ED_screen_full_prevspace(bContext *C, ScrArea *sa)
|
|||
}
|
||||
}
|
||||
|
||||
void ED_screen_retore_temp_type(bContext *C, ScrArea *sa, bool is_screen_change)
|
||||
void ED_screen_restore_temp_type(bContext *C, ScrArea *sa, bool is_screen_change)
|
||||
{
|
||||
/* incase nether functions below run */
|
||||
ED_area_tag_redraw(sa);
|
||||
|
|
|
@ -1710,7 +1710,7 @@ static int wm_handler_fileselect_do(bContext *C, ListBase *handlers, wmEventHand
|
|||
|
||||
if (val != EVT_FILESELECT_EXTERNAL_CANCEL) {
|
||||
ScrArea *sa = CTX_wm_area(C);
|
||||
ED_screen_retore_temp_type(C, sa, screen != handler->filescreen);
|
||||
ED_screen_restore_temp_type(C, sa, screen != handler->filescreen);
|
||||
}
|
||||
|
||||
wm_handler_op_context(C, handler);
|
||||
|
|
Loading…
Reference in New Issue