Skip to content

Commit

Permalink
Workaround for a crash on MSYS2 when starting with --debug
Browse files Browse the repository at this point in the history
  • Loading branch information
tobbi committed Apr 1, 2015
1 parent fc2c37a commit 88b1dc3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/video/font.cpp
Expand Up @@ -17,6 +17,7 @@

#include <config.h>

#include <iostream>
#include <sstream>
#include <stdlib.h>
#include <string.h>
Expand Down Expand Up @@ -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");

Expand Down

0 comments on commit 88b1dc3

Please sign in to comment.