Sorry hhickr :)

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@760 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues 2009-04-29 19:14:35 +00:00
parent 506ea20d36
commit 33b28c76df

View File

@ -92,11 +92,10 @@ void Set_program_directory(ARG_UNUSED const char * argv0,char * program_dir)
void Set_data_directory(const char * program_dir, char * data_dir)
{
// On all platforms, data is in the executable's directory
// Except MacOSX:
strcpy(data_dir,program_dir);
// Except MacOSX, here it is stored in a special folder:
#if defined(__macosx__)
strcat(data_dir,"Contents/Resources/");
#else
strcpy(data_dir,program_dir);
#endif
}