From 7d185d1543bc898bbb15755aa60a7dc52a8026fe Mon Sep 17 00:00:00 2001 From: David Capello Date: Thu, 7 Apr 2016 16:12:33 -0300 Subject: [PATCH] Fix base_trace() to avoid double \n\n at the end of line --- src/base/debug.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/base/debug.cpp b/src/base/debug.cpp index e0ccc4bbf..cc965f26a 100644 --- a/src/base/debug.cpp +++ b/src/base/debug.cpp @@ -1,5 +1,5 @@ // Aseprite Base Library -// Copyright (c) 2001-2015 David Capello +// Copyright (c) 2001-2016 David Capello // // This file is released under the terms of the MIT license. // Read LICENSE.txt for more information. @@ -68,7 +68,7 @@ void base_trace(const char* msg, ...) #else - std::cerr << buf << std::endl; + std::cerr << buf << std::flush; #endif }