From e900c59a9b4740a0c1af8c961c85fdd8f0e320a7 Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Fri, 22 Nov 2013 06:41:33 +0100 Subject: [PATCH] Fix check for unfinished render jobs Signed-off-by: Sebastian Ramacher --- render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/render.c b/render.c index 3dc72d8..f572a82 100644 --- a/render.c +++ b/render.c @@ -412,7 +412,7 @@ zathura_render_request(ZathuraRenderRequest* request, gint64 last_view_time) bool unfinished_jobs = false; /* check if there are any active jobs left */ GIRARA_LIST_FOREACH(request_priv->active_jobs, render_job_t*, iter, job) - if (job->aborted != false) { + if (job->aborted == false) { unfinished_jobs = true; } GIRARA_LIST_FOREACH_END(request_priv->active_jobs, render_job_t*, iter, job);