Fix Format_VA. Rename Format to StdFormat.

author jazzysoggy <39224097+jazzysoggy@users.noreply.github.com> 1655955994 -0400
committer jazzysoggy <39224097+jazzysoggy@users.noreply.github.com> 1656516326 -0400

Fixed Format_VA and renamed Format to StdFormat. Both now output to Std::String, while taking the same input as before. Changed functions that use these two to account for this output difference
This commit is contained in:
jazzysoggy authored and Hielke Morsink committed 2022-07-24 19:30:57 +02:00
1 parent 55c8a3d775
commit c0853b56ad
10 files changed
+54 -117

No files matched your search

@@ -2146,8 +2146,5 @@ void InteractiveConsole::WriteFormatLine(const char* format, ...)
va_start(list, format);
auto buffer = String::Format_VA(format, list);
va_end(list);
auto s = std::string(buffer);
std::free(buffer);
WriteLine(s);
WriteLine(buffer);
}