Fixed rendering for djvu backend

This commit is contained in:
Moritz Lipp 2011-04-19 16:42:16 +02:00
parent 07cc456ae9
commit 48d5dad99d

View file

@ -254,7 +254,7 @@ djvu_page_render(zathura_page_t* page)
/* render page */ /* render page */
ddjvu_page_render(djvu_page, DDJVU_RENDER_COLOR, &prect, &rrect, djvu_document->format, ddjvu_page_render(djvu_page, DDJVU_RENDER_COLOR, &prect, &rrect, djvu_document->format,
3 * page_width, (char*) image_buffer); 3 * page_width, (char*) image_buffer->data);
return image_buffer; return image_buffer;