From 86c6740b24b6f57c1e5df592575abd2546dfaa28 Mon Sep 17 00:00:00 2001 From: Arisotura Date: Tue, 19 Nov 2024 01:07:27 +0100 Subject: [PATCH] fuck that shit --- src/frontend/qt_sdl/Config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/qt_sdl/Config.cpp b/src/frontend/qt_sdl/Config.cpp index 7d5331fc..0163dc87 100644 --- a/src/frontend/qt_sdl/Config.cpp +++ b/src/frontend/qt_sdl/Config.cpp @@ -632,7 +632,7 @@ 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 = val; + tval = toml::value(val, {.prec=10}); } toml::value& Table::ResolvePath(const std::string& path)