Fix zooming in poppler pdf backend

This commit is contained in:
Moritz Lipp 2011-04-25 23:49:38 +02:00
parent 8af8103bf3
commit a5bf154dfa

View File

@ -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 */