Commit 42673a84 authored by Sebastian Ramacher's avatar Sebastian Ramacher
Browse files

Fix scroll_wrap logic on first and last page. (Closes #52)

Thanks egl209 for the patch.
parent 5ce01cef
......@@ -2320,7 +2320,7 @@ sc_scroll(Argument* argument)
Argument arg;
arg.n = PREVIOUS;
sc_navigate(&arg);
if (!scroll_wrap || (Zathura.PDF.page_number < old_page))
if (scroll_wrap || (Zathura.PDF.page_number < old_page))
{
arg.n = BOTTOM;
ss = TRUE;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment