From 295b03dc2c13a6029f4f3e2d889743045281f1c2 Mon Sep 17 00:00:00 2001 Message-Id: <295b03dc2c13a6029f4f3e2d889743045281f1c2.1714757052.git.mdw@distorted.org.uk> From: Mark Wooding Date: Sun, 11 Nov 2007 11:05:54 +0000 Subject: [PATCH] faster startup by not redrawing so often Organization: Straylight/Edgeware From: Richard Kettlewell --- disobedience/queue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/disobedience/queue.c b/disobedience/queue.c index 6de6483..4d756c5 100644 --- a/disobedience/queue.c +++ b/disobedience/queue.c @@ -177,7 +177,7 @@ struct queuelike { /** @brief Called when an update completes */ void (*notify)(void); - /** @brief Called to fix up the queue after update + /** @brief Called to fix up the queue after update * @param q The list passed back from the server * @return Assigned to @c ql->q */ @@ -258,7 +258,7 @@ static void dump_layout(const struct queuelike *ql) { static void namepart_completed_or_failed(void) { D(("namepart_completed_or_failed")); --namepart_lookups_outstanding; - if(!namepart_lookups_outstanding || namepart_completions_deferred > 24) { + if(!namepart_lookups_outstanding) { redisplay_queue(&ql_queue); redisplay_queue(&ql_recent); redisplay_queue(&ql_added); -- [mdw]