Commit a5bf154d authored by Moritz Lipp's avatar Moritz Lipp
Browse files

Fix zooming in poppler pdf backend

parent 8af8103b
......@@ -269,7 +269,7 @@ pdf_page_render(zathura_page_t* page)
return NULL;
}
poppler_page_render_to_pixbuf(page->data, 0, 0, page->width, page->height,
poppler_page_render_to_pixbuf(page->data, 0, 0, page_width, page_height,
page->document->scale, 0, pixbuf);
/* create image buffer */
......
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