mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 22:25:59 +01:00
Fix check for unfinished render jobs
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
086d49bb1a
commit
e900c59a9b
1 changed files with 1 additions and 1 deletions
2
render.c
2
render.c
|
@ -412,7 +412,7 @@ zathura_render_request(ZathuraRenderRequest* request, gint64 last_view_time)
|
||||||
bool unfinished_jobs = false;
|
bool unfinished_jobs = false;
|
||||||
/* check if there are any active jobs left */
|
/* check if there are any active jobs left */
|
||||||
GIRARA_LIST_FOREACH(request_priv->active_jobs, render_job_t*, iter, job)
|
GIRARA_LIST_FOREACH(request_priv->active_jobs, render_job_t*, iter, job)
|
||||||
if (job->aborted != false) {
|
if (job->aborted == false) {
|
||||||
unfinished_jobs = true;
|
unfinished_jobs = true;
|
||||||
}
|
}
|
||||||
GIRARA_LIST_FOREACH_END(request_priv->active_jobs, render_job_t*, iter, job);
|
GIRARA_LIST_FOREACH_END(request_priv->active_jobs, render_job_t*, iter, job);
|
||||||
|
|
Loading…
Reference in a new issue