summaryrefslogtreecommitdiff
path: root/src/windows
diff options
context:
space:
mode:
Diffstat (limited to 'src/windows')
-rw-r--r--src/windows/res.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/windows/res.h b/src/windows/res.h
index 06b3209..9f8def3 100644
--- a/src/windows/res.h
+++ b/src/windows/res.h
@@ -40,8 +40,7 @@ struct Res {
std::filesystem::path defaultsFile;
std::filesystem::path fontFile;
-
-} typedef Res;
+};
inline const char *to_str(const std::filesystem::path &file) {
std::setlocale(LC_ALL, "en_US.utf8"); // TODO more support?