[aseprite] 52/128: Show text on console too when TRACE() is used on Windows

Tobias Hansen thansen at moszumanska.debian.org
Mon May 9 21:24:22 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 350cc2df2da1119b5c0926ad6d3b157d96cc7d4c
Author: David Capello <davidcapello at gmail.com>
Date:   Fri Apr 22 12:27:00 2016 -0300

    Show text on console too when TRACE() is used on Windows
---
 src/base/debug.cpp | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/base/debug.cpp b/src/base/debug.cpp
index cc965f2..5f0dfe7 100644
--- a/src/base/debug.cpp
+++ b/src/base/debug.cpp
@@ -63,14 +63,10 @@ void base_trace(const char* msg, ...)
   va_end(ap);
 
 #ifdef _WIN32
-
   _CrtDbgReport(_CRT_WARN, NULL, 0, NULL, buf);
-
-#else
+#endif
 
   std::cerr << buf << std::flush;
-
-#endif
 }
 
 #endif

-- 
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