forked from PsychoticNinja/irssi
Merge pull request #76 from ailin-nemui/scroll_page_count
fix scroll_page_count settings with . (cherry picked from commit 84a98d0e0843b33c030798778e6b537a9d6141b2)
This commit is contained in:
parent
d193ca1784
commit
d6bc4cf5b7
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user