summaryrefslogtreecommitdiff
path: root/src/fios_gui.cpp
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2020-12-06 21:11:42 +0100
committerMichael Lutz <michi@icosahedron.de>2020-12-27 13:19:25 +0100
commitdd138fc460dcbab37452e90ff070a31516994aa2 (patch)
tree170edd04094e997abe891858a8e4753071983fee /src/fios_gui.cpp
parent860c270c73048b4930ac8cbebcd60be746eb9782 (diff)
downloadopenttd-dd138fc460dcbab37452e90ff070a31516994aa2.tar.xz
Codechange: Stringify config file paths.
Diffstat (limited to 'src/fios_gui.cpp')
-rw-r--r--src/fios_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fios_gui.cpp b/src/fios_gui.cpp
index 47f7e1e2d..059bbf0ce 100644
--- a/src/fios_gui.cpp
+++ b/src/fios_gui.cpp
@@ -382,7 +382,7 @@ public:
break;
default:
- strecpy(o_dir.name, _personal_dir, lastof(o_dir.name));
+ strecpy(o_dir.name, _personal_dir.c_str(), lastof(o_dir.name));
}
switch (this->fop) {