summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/corefile.cpp
diff options
context:
space:
mode:
author Brad Hughes <bradhugh@outlook.com>2016-03-17 09:22:16 -0400
committer Brad Hughes <bradhugh@outlook.com>2016-03-17 09:22:16 -0400
commit26ccf5e75fc542b073346f003f1d6bcc39c6c8ca (patch)
tree9781845d0dfffcf74a76feb1c934ce7e78bf08e9 /src/lib/util/corefile.cpp
parent6cd37a0498b9aa7bc4f910ce5992d6ab1b84ef3f (diff)
parent0442b2c2f33fc383f43dc608606343b9c27ad73f (diff)
Merge branch 'master' of https://github.com/mamedev/mame.git
Diffstat (limited to 'src/lib/util/corefile.cpp')
-rw-r--r--src/lib/util/corefile.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/util/corefile.cpp b/src/lib/util/corefile.cpp
index ec1e25340e3..5c16d886fe3 100644
--- a/src/lib/util/corefile.cpp
+++ b/src/lib/util/corefile.cpp
@@ -611,6 +611,7 @@ int core_text_file::puts(char const *s)
int core_text_file::vprintf(util::format_argument_pack<std::ostream> const &args)
{
+ m_printf_buffer.clear();
m_printf_buffer.reserve(1024);
m_printf_buffer.seekp(0, ovectorstream::beg);
util::stream_format<std::ostream, std::ostream>(m_printf_buffer, args);