From 550506dfc28bd3498f70caab93c3bc0c1d7c6f4b Mon Sep 17 00:00:00 2001 From: Henric Jungheim Date: Fri, 22 Dec 2023 07:07:17 -0700 Subject: [PATCH] Get fnkdat.cpp compiling for Mac. --- src/misc/fnkdat.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/misc/fnkdat.cpp b/src/misc/fnkdat.cpp index 1a7047f7..3a8512dd 100644 --- a/src/misc/fnkdat.cpp +++ b/src/misc/fnkdat.cpp @@ -301,8 +301,9 @@ std::tuple fnkdat(const std::filesystem::path& targ getMacApplicationSupportFolder(&buffer[0], buffer.size()); - output_path = buffer; + output_path = buffer.data(); output_path /= "Dune Legacy"; + } # else { const char* xdg_config = getenv("XDG_CONFIG_HOME");