summaryrefslogtreecommitdiffstats
path: root/src/OSSupport
diff options
context:
space:
mode:
authorPeter Bell <peterbell10@live.co.uk>2020-07-06 21:01:36 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-07-06 21:53:04 +0200
commit829f8d46f0ae5d26441c6e960a1f3cdc618aea0e (patch)
tree133c93b61336735b3505cef52331d3ebc313d9c1 /src/OSSupport
parentcWindow: Convert XYZ to Vector3 (#4764) (diff)
downloadcuberite-829f8d46f0ae5d26441c6e960a1f3cdc618aea0e.tar
cuberite-829f8d46f0ae5d26441c6e960a1f3cdc618aea0e.tar.gz
cuberite-829f8d46f0ae5d26441c6e960a1f3cdc618aea0e.tar.bz2
cuberite-829f8d46f0ae5d26441c6e960a1f3cdc618aea0e.tar.lz
cuberite-829f8d46f0ae5d26441c6e960a1f3cdc618aea0e.tar.xz
cuberite-829f8d46f0ae5d26441c6e960a1f3cdc618aea0e.tar.zst
cuberite-829f8d46f0ae5d26441c6e960a1f3cdc618aea0e.zip
Diffstat (limited to 'src/OSSupport')
-rw-r--r--src/OSSupport/File.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/OSSupport/File.cpp b/src/OSSupport/File.cpp
index 109c51eb7..fc3ddbdeb 100644
--- a/src/OSSupport/File.cpp
+++ b/src/OSSupport/File.cpp
@@ -695,7 +695,7 @@ AString cFile::GetExecutableExt(void)
int cFile::vPrintf(const char * a_Fmt, fmt::printf_args a_ArgList)
{
fmt::memory_buffer Buffer;
- fmt::printf(Buffer, fmt::to_string_view(a_Fmt), a_ArgList);
+ fmt::vprintf(Buffer, fmt::to_string_view(a_Fmt), a_ArgList);
return Write(Buffer.data(), Buffer.size());
}