This is an automated email from the git hooks/post-receive script. thansen pushed a commit to branch master in repository aseprite.
commit 67968b0211cf0b930ac79d0d49257a0b0bc2f4a5 Author: David Capello <davidcape...@gmail.com> Date: Tue Jun 28 10:14:56 2016 -0300 Improve base_assert() message so we quickly can find the file:line --- src/base/debug.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/base/debug.cpp b/src/base/debug.cpp index 5f0dfe7..9af43b4 100644 --- a/src/base/debug.cpp +++ b/src/base/debug.cpp @@ -42,12 +42,11 @@ int base_assert(const char* condition, const char* file, int lineNum) #else - std::string text = "Assertion failed: "; - text += condition; - text += ", file "; - text += file; - text += ", line "; + std::string text = file; + text += ":"; text += base::convert_to<std::string>(lineNum); + text += ": Assertion failed: "; + text += condition; std::cerr << text << std::endl; return 1; -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git _______________________________________________ Pkg-games-commits mailing list Pkg-games-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits