From 411a3062f483b747ab2aa5f2d378093275ce737c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 5 Jan 2011 17:17:27 +0000 Subject: [PATCH] * Reverted accidental part of r40114. Thanks Philippe! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40123 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/showimage/ImageCache.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/apps/showimage/ImageCache.cpp b/src/apps/showimage/ImageCache.cpp index d96eb16401..7eb6fec1d6 100644 --- a/src/apps/showimage/ImageCache.cpp +++ b/src/apps/showimage/ImageCache.cpp @@ -111,8 +111,7 @@ ImageCache::RetrieveImage(const entry_ref& ref, int32 page, entry->ref = ref; entry->page = page; - if (fThreadCount < fMaxThreadCount - || (target != NULL && fThreadCount == fMaxThreadCount)) { + if (fThreadCount < fMaxThreadCount) { // start a new worker thread to load the image thread_id thread = spawn_thread(&ImageCache::_QueueWorkerThread, "image loader", B_LOW_PRIORITY, this);