From dc10df0796f4d5e804b5e21ec5978d5de09b4742 Mon Sep 17 00:00:00 2001 From: Arisotura Date: Thu, 21 Nov 2024 00:27:30 +0100 Subject: [PATCH] FUCK THAT SHIT --- src/frontend/qt_sdl/Config.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/frontend/qt_sdl/Config.cpp b/src/frontend/qt_sdl/Config.cpp index 0163dc87..73161809 100644 --- a/src/frontend/qt_sdl/Config.cpp +++ b/src/frontend/qt_sdl/Config.cpp @@ -632,7 +632,8 @@ void Table::SetString(const std::string& path, const std::string& val) void Table::SetDouble(const std::string& path, double val) { toml::value& tval = ResolvePath(path); - tval = toml::value(val, {.prec=10}); + toml::floating_format_info info = {.prec=10}; + tval = toml::value(val, info); } toml::value& Table::ResolvePath(const std::string& path)