diff --git a/src/util/format/print.cpp b/src/util/format/print.cpp index 1916612..2fca2d3 100644 --- a/src/util/format/print.cpp +++ b/src/util/format/print.cpp @@ -77,7 +77,7 @@ FormatPrint::FormatPrint(FILE* file, Type type, bool bold) FormatPrint::~FormatPrint() { std::string string = m_stream.str(); - fputs(string.c_str(), stdout); + fputs(string.c_str(), m_file); } FormatPrint dbg()