From 3837ebef06427fa00e6f1f2aaf640d69c1a60905 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Wed, 27 Jul 2022 01:17:44 +0200 Subject: [PATCH] Util: Print to provided file stream --- src/util/format/print.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()