[aseprite] 154/308: Minor change in ResourceFinder logging strings

Tobias Hansen thansen at moszumanska.debian.org
Tue Mar 8 02:45:05 UTC 2016


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository aseprite.

commit 1c7ef06a4b084930f42d02633346fa2e4a25d3ae
Author: David Capello <davidcapello at gmail.com>
Date:   Tue Dec 22 20:08:37 2015 -0300

    Minor change in ResourceFinder logging strings
---
 src/app/resource_finder.cpp | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/app/resource_finder.cpp b/src/app/resource_finder.cpp
index 44245d6..7d001c0 100644
--- a/src/app/resource_finder.cpp
+++ b/src/app/resource_finder.cpp
@@ -53,19 +53,18 @@ bool ResourceFinder::findFirst()
 {
   while (next()) {
     if (m_log)
-      LOG("Loading resource from \"%s\"...\n", filename().c_str());
+      LOG("Searching file \"%s\"...", filename().c_str());
 
     if (base::is_file(filename())) {
       if (m_log)
-        LOG("- OK\n");
+        LOG(" (found)\n");
 
       return true;
     }
+    else if (m_log)
+      LOG(" (not found)\n");
   }
 
-  if (m_log)
-    LOG("- Resource not found.\n");
-
   return false;
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git



More information about the Pkg-games-commits mailing list