1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2025-02-10 15:44:41 -05:00

identify.

This commit is contained in:
QC 2014-04-16 21:43:34 +02:00
parent dcb2d64f96
commit d64345ccbe

View file

@ -821,15 +821,15 @@ void menu_draw ( textbox *text,
}
else
{
// Do pageinating
int page = selected/max_lines;
offset = page*max_lines;
// Do pageinating
int page = selected / max_lines;
offset = page * max_lines;
*last_offset = offset;
}
for ( i = 0; i < max_lines ; i++ )
for ( i = 0; i < max_lines; i++ )
{
if ( (i+offset) >= num_lines || filtered[i + offset] == NULL )
if ( ( i + offset ) >= num_lines || filtered[i + offset] == NULL )
{
textbox_font ( boxes[i], config.menu_font,
config.menu_fg,