From 48d5dad99d43717de077924c1600b576953d4917 Mon Sep 17 00:00:00 2001 From: Moritz Lipp Date: Tue, 19 Apr 2011 16:42:16 +0200 Subject: [PATCH] Fixed rendering for djvu backend --- ft/djvu/djvu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ft/djvu/djvu.c b/ft/djvu/djvu.c index 26b822a..46908c2 100644 --- a/ft/djvu/djvu.c +++ b/ft/djvu/djvu.c @@ -254,7 +254,7 @@ djvu_page_render(zathura_page_t* page) /* render page */ 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;