From 34ec1d967af9c060b57ee2cc330c10936fc57b8e Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Sun, 16 Aug 2015 12:33:01 +0000 Subject: [PATCH] Haiu: add missing / at end of data path. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2127 416bcca6-2ee7-4201-b75f-2eb2f807beb1 --- src/setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/setup.c b/src/setup.c index 628f66bb..8ba296bc 100644 --- a/src/setup.c +++ b/src/setup.c @@ -135,7 +135,7 @@ void Set_data_directory(const char * program_dir, char * data_dir) strcpy(data_dir, program_dir); // Haiku provides us with an API to find it. #elif defined(__HAIKU__) - if (find_path(Set_data_directory, B_FIND_PATH_DATA_DIRECTORY, "grafx2", data_dir, PATH_MAX) != B_OK) + if (find_path(Set_data_directory, B_FIND_PATH_DATA_DIRECTORY, "grafx2/", data_dir, PATH_MAX) != B_OK) strcat(data_dir,"../data/grafx2/"); // All other targets, program is in a "bin" subdirectory