[haiku-commits] r40123 - haiku/trunk/src/apps/showimage

  • From: axeld@xxxxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 5 Jan 2011 18:17:28 +0100 (CET)

Author: axeld
Date: 2011-01-05 18:17:27 +0100 (Wed, 05 Jan 2011)
New Revision: 40123
Changeset: http://dev.haiku-os.org/changeset/40123

Modified:
   haiku/trunk/src/apps/showimage/ImageCache.cpp
Log:
* Reverted accidental part of r40114. Thanks Philippe!


Modified: haiku/trunk/src/apps/showimage/ImageCache.cpp
===================================================================
--- haiku/trunk/src/apps/showimage/ImageCache.cpp       2011-01-04 22:42:19 UTC 
(rev 40122)
+++ haiku/trunk/src/apps/showimage/ImageCache.cpp       2011-01-05 17:17:27 UTC 
(rev 40123)
@@ -111,8 +111,7 @@
                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);


Other related posts:

  • » [haiku-commits] r40123 - haiku/trunk/src/apps/showimage - axeld