1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

fix scroll_page_count settings with .

This commit is contained in:
Ailin Nemui 2022-03-11 08:56:35 +01:00
parent 4bf129084f
commit 8fa2d01a7f

View File

@ -163,7 +163,7 @@ static int get_scroll_count(void)
else if (count < 1)
count = 1.0/count;
if (*str == '/') {
if (*str == '/' || *str == '.') {
count = (active_mainwin->height-active_mainwin->statusbar_lines)/count;
}
return (int)count;