- assert(cx>=0 && cy>=0);
- getyx(menu->win,ncy,ncx);
- if (isgrey) wattroff(menu->win,menu->grey);
- else if (isfore) wattroff(menu->win,menu->fore);
- wattron(menu->win,menu->back);
- for(j=1; j < menu->spc_rows;j++)
+ assert(cx >= 0 && cy >= 0);
+ getyx(menu->win, ncy, ncx);
+ if (isgrey)
+ wattroff(menu->win, (int)menu->grey);
+ else if (isfore)
+ wattroff(menu->win, (int)menu->fore);
+ wattron(menu->win, (int)menu->back);
+ for (j = 1; j < menu->spc_rows; j++)