Haiu: add missing / at end of data path.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2127 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues 2015-08-16 12:33:01 +00:00
parent f2797f6648
commit 34ec1d967a

View File

@ -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