- for (y = win->start_y; y <= win->start_y + win->height; y++) {
- mvaddch(y, win->start_x - 1, '|');
- mvaddch(y, win->start_x + win->width, '|'); }
- for (x = win->start_x; x <= win->start_x + win->width; x++) {
- mvaddch(win->start_y - 1, x, '-');
- mvaddch(win->start_y + win->height, x, '-'); }
+ for (y = win->curses_win->_begy; y <= win->curses_win->_begy + win->height; y++) {
+ mvaddch(y, win->curses_win->_begx - 1, '|');
+ mvaddch(y, win->curses_win->_begx + win->width, '|'); }
+ for (x = win->curses_win->_begx; x <= win->curses_win->_begx + win->width; x++) {
+ mvaddch(win->curses_win->_begy - 1, x, '-');
+ mvaddch(win->curses_win->_begy + win->height, x, '-'); }