* authorization. *
****************************************************************************/
/*
- * $Id: movewindow.c,v 1.33 2012/01/15 00:30:35 tom Exp $
+ * $Id: movewindow.c,v 1.35 2012/06/09 20:30:32 tom Exp $
*
* Demonstrate move functions for windows and derived windows from the curses
* library.
max_line, max_col,
TRUE,
&more)) != 0) {
- int y0, x0;
-
- getbegyx(parent, y0, x0);
if (mvderwin(win, tmp->y, tmp->x) != ERR) {
refresh_all(win);
doupdate();
getmaxyx(win, y1, x1);
for (y = 0; y < y1; ++y) {
for (x = 0; x < x1; ++x) {
- MvWAddCh(win, y, x, ch);
+ MvWAddCh(win, y, x, (chtype) ch);
if (++ch > 'z')
ch = 'a';
}