From 4eef03c2015b2b09e685b13bc99da132456e55c2 Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Tue, 19 Apr 2011 15:26:26 +0200 Subject: [PATCH] invalidate rect --- render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/render.c b/render.c index 05cb7d5..f22427f 100644 --- a/render.c +++ b/render.c @@ -218,7 +218,7 @@ page_expose_event(GtkWidget* widget, GdkEventExpose* event, gpointer data) } girara_info("page->num %d page->surface: %p", page->number, page->surface); - if (page->surface == NULL) { + if (page->surface != NULL) { cairo_set_source_surface(cairo, page->surface, 0, 0); cairo_paint(cairo);