[aseprite] 236/250: Print verbose_log() on stderr instead of stdout when _DEBUG is defined

Tobias Hansen thansen at moszumanska.debian.org
Sun Dec 20 15:27:34 UTC 2015


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

thansen pushed a commit to branch master
in repository aseprite.

commit 12d27031e8b7b3b2f99dafb5e735a2cce5d197c1
Author: David Capello <davidcapello at gmail.com>
Date:   Thu Nov 5 13:02:28 2015 -0300

    Print verbose_log() on stderr instead of stdout when _DEBUG is defined
---
 src/app/log.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/app/log.cpp b/src/app/log.cpp
index 7cbda2e..f9a4147 100644
--- a/src/app/log.cpp
+++ b/src/app/log.cpp
@@ -68,8 +68,8 @@ void verbose_log(const char* format, ...)
     fflush(app::log_fileptr);
 
 #ifdef _DEBUG
-    vfprintf(stdout, format, ap);
-    fflush(stdout);
+    vfprintf(stderr, format, ap);
+    fflush(stderr);
 #endif
 
     va_end(ap);

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