No OOM error conditions in some functions of window.c

- alloc_tabpage()
 - win_alloc_lines()
 - win_alloc_aucmd_win()
 - new_frame()
 - win_alloc()

TODO: don't handle OOM after calls to dict_alloc()
This commit is contained in:
Felipe Oliveira Carvalho
2014-04-19 16:59:49 -03:00
committed by Thiago de Arruda
parent 6d193b0b37
commit 28b03dd190
4 changed files with 30 additions and 70 deletions

View File

@@ -41,7 +41,7 @@ win_T *buf_jump_open_win(buf_T *buf);
win_T *buf_jump_open_tab(buf_T *buf);
void win_append(win_T *after, win_T *wp);
void win_remove(win_T *wp, tabpage_T *tp);
int win_alloc_lines(win_T *wp);
void win_alloc_lines(win_T *wp);
void win_free_lsize(win_T *wp);
void shell_new_rows(void);
void shell_new_columns(void);