Searched refs:tem_row (Results 1 – 2 of 2) sorted by relevance
868 int tem_row; in tem_adjust_row() local885 tem_row = (tem_y + tems.ts_font.vf_height - 1) / in tem_adjust_row()888 if (tem_row < 0) { in tem_adjust_row()889 tem_row = 0; in tem_adjust_row()890 } else if (tem_row >= (tems.ts_c_dimension.height - 1)) { in tem_adjust_row()895 scroll_up_lines = tem_row - in tem_adjust_row()898 tem_row = tems.ts_c_dimension.height - 1; in tem_adjust_row()901 return (tem_row); in tem_adjust_row()
803 int tem_row; in tem_adjust_row() local815 tem_row = (tem_y + tems.ts_font.vf_height - 1) / in tem_adjust_row()818 if (tem_row < 0) { in tem_adjust_row()819 tem_row = 0; in tem_adjust_row()820 } else if (tem_row >= (tems.ts_c_dimension.height - 1)) { in tem_adjust_row()825 scroll_up_lines = tem_row - in tem_adjust_row()828 tem_row = tems.ts_c_dimension.height - 1; in tem_adjust_row()831 return (tem_row); in tem_adjust_row()