Browse Source

Util: Print to provided file stream

master
Riyyi 2 years ago
parent
commit
3837ebef06
  1. 2
      src/util/format/print.cpp

2
src/util/format/print.cpp

@ -77,7 +77,7 @@ FormatPrint::FormatPrint(FILE* file, Type type, bool bold)
FormatPrint::~FormatPrint() FormatPrint::~FormatPrint()
{ {
std::string string = m_stream.str(); std::string string = m_stream.str();
fputs(string.c_str(), stdout); fputs(string.c_str(), m_file);
} }
FormatPrint dbg() FormatPrint dbg()

Loading…
Cancel
Save