From 88b1dc3420acf3bc6541f42c8243dced7ecda9ab Mon Sep 17 00:00:00 2001 From: Tobias Markus Date: Thu, 2 Apr 2015 01:41:23 +0200 Subject: [PATCH] Workaround for a crash on MSYS2 when starting with --debug --- src/video/font.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/video/font.cpp b/src/video/font.cpp index 90b32afbf33..de4cb2c178d 100644 --- a/src/video/font.cpp +++ b/src/video/font.cpp @@ -17,6 +17,7 @@ #include +#include #include #include #include @@ -87,7 +88,8 @@ void Font::loadFontFile(const std::string &filename) { lisp::Parser parser; - log_debug << "Loading font: " << filename << std::endl; + // FIXME: Workaround for a crash on MSYS2 when starting with --debug + std::cout << "[DEBUG] " << "Loading font: " << filename << std::endl; const lisp::Lisp* root = parser.parse(filename); const lisp::Lisp* config_l = root->get_lisp("supertux-font");