- for (y = getbegy(win->curses_win); y <= getbegy(win->curses_win) + win->height; y++) {
- mvwaddch(wgetparent(win->curses_win), y, getbegx(win->curses_win) - 1, '|');
- mvwaddch(wgetparent(win->curses_win), y, getbegx(win->curses_win) + win->width, '|'); }
- for (x = getbegx(win->curses_win); x <= getbegx(win->curses_win) + win->width; x++) {
- mvwaddch(wgetparent(win->curses_win), getbegy(win->curses_win) - 1, x, '-');
- mvwaddch(wgetparent(win->curses_win), getbegy(win->curses_win) + win->height, x, '-'); }
- char min_title_length_visible = 3; // 1 char minimal, plus 2 chars for decoration left/right of title
+ for (y = getbegy(win->curses); y <= getbegy(win->curses) + win->height; y++) {
+ mvwaddch(wgetparent(win->curses), y, getbegx(win->curses) - 1, '|');
+ mvwaddch(wgetparent(win->curses), y, getbegx(win->curses) + win->width, '|'); }
+ for (x = getbegx(win->curses); x <= getbegx(win->curses) + win->width; x++) {
+ mvwaddch(wgetparent(win->curses), getbegy(win->curses) - 1, x, '-');
+ mvwaddch(wgetparent(win->curses), getbegy(win->curses) + win->height, x, '-'); }
+ char min_title_length_visible = 3; // 1 char minimal, plus 2 chars for decoration left/right of title