Skip to content
Snippets Groups Projects
Commit 010772fc authored by neil's avatar neil
Browse files

No dummy stuff need be added to the path it seems

git-svn-id: http://svn.net-core.org/repos/t-engine4@616 51575b47-30f0-44d4-a5cc-537603b46e54
parent 80345dff
No related branches found
No related tags found
No related merge requests found
......@@ -6,10 +6,7 @@ const char *get_self_executable(int argc, char **argv)
if(!cstr)
{
NSString *resourcePath = [[NSBundle mainBundle] resourcePath];
resourcePath = [NSString stringWithFormat:@"%@/", resourcePath];
const char *utf8 = [resourcePath UTF8String];
const char *utf8 = [[[NSBundle mainBundle] resourcePath] UTF8String];
cstr = malloc(strlen(utf8) + 1);
strcpy(cstr, utf8);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment