mirror of
https://github.com/irssi/irssi.git
synced 2026-08-18 16:12:30 +02:00
fix scroll_page_count settings with .
This commit is contained in:
parent
4bf129084f
commit
8fa2d01a7f
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ static int get_scroll_count(void)
|
||||||
else if (count < 1)
|
else if (count < 1)
|
||||||
count = 1.0/count;
|
count = 1.0/count;
|
||||||
|
|
||||||
if (*str == '/') {
|
if (*str == '/' || *str == '.') {
|
||||||
count = (active_mainwin->height-active_mainwin->statusbar_lines)/count;
|
count = (active_mainwin->height-active_mainwin->statusbar_lines)/count;
|
||||||
}
|
}
|
||||||
return (int)count;
|
return (int)count;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue