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:
parent
f2797f6648
commit
34ec1d967a
@ -135,7 +135,7 @@ void Set_data_directory(const char * program_dir, char * data_dir)
|
|||||||
strcpy(data_dir, program_dir);
|
strcpy(data_dir, program_dir);
|
||||||
// Haiku provides us with an API to find it.
|
// Haiku provides us with an API to find it.
|
||||||
#elif defined(__HAIKU__)
|
#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/");
|
strcat(data_dir,"../data/grafx2/");
|
||||||
|
|
||||||
// All other targets, program is in a "bin" subdirectory
|
// All other targets, program is in a "bin" subdirectory
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user