Lines Matching refs:rdiff
223 int my_top_row, rdiff;
300 rdiff = menu->rows - (menu->arows + my_top_row);
301 if (rdiff > menu->arows)
302 rdiff = menu->arows;
303 if (rdiff <= 0)
307 my_top_row += rdiff;
308 while (rdiff-- > 0 && item != 0 && item->down != 0)
315 rdiff = (menu->arows < my_top_row) ? menu->arows : my_top_row;
316 if (rdiff <= 0)
320 my_top_row -= rdiff;
321 while (rdiff-- > 0 && item != 0 && item->up != 0)