mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-17 00:37:52 +01:00
Fixed rendering for djvu backend
This commit is contained in:
parent
07cc456ae9
commit
48d5dad99d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue