Fix wrong check for warning.
authorFrancisco Santos <f1.santos@samsung.com>
Tue, 15 Apr 2014 13:11:01 +0000 (14:11 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Wed, 16 Apr 2014 10:42:41 +0000 (11:42 +0100)
Change-Id: Ia43d8e6e9934a6826cb1d20d7bab0885a782c325
Signed-off-by: Francisco Santos <f1.santos@samsung.com>
dali/internal/update/resources/resource-manager.cpp

index 10d2d3a..52ce1b7 100644 (file)
@@ -585,9 +585,9 @@ void ResourceManager::HandleDiscardResourceRequest( ResourceId deadId, ResourceT
   }
 
   // ID should be in one of the live sets
-  if (foundLiveRequest)
+  if (!foundLiveRequest)
   {
-    DALI_LOG_WARNING("HandleDiscardResourceRequest: ID should be in one of the live sets!");
+    DALI_LOG_WARNING("HandleDiscardResourceRequest: ID should be in one of the live sets!\n");
   }
   DALI_ASSERT_DEBUG(foundLiveRequest);