From a1849042ded1b9fe1109b4a329157f58e4d03792 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Tue, 15 Jan 2019 15:40:37 +0100 Subject: [PATCH] Win32: use \ instead of / in Get_data_directory() --- src/setup.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/setup.c b/src/setup.c index 3b831258..62cc4cd8 100644 --- a/src/setup.c +++ b/src/setup.c @@ -147,6 +147,8 @@ void Set_data_directory(const char * program_dir, char * data_dir) strcat(data_dir,"../share/grafx2/"); } + #elif defined(WIN32) + strcat(data_dir,"..\\share\\grafx2\\"); // All other targets, program is in a "bin" subdirectory #else strcat(data_dir,"../share/grafx2/");