mirror of
https://github.com/love2d/love.git
synced 2026-08-20 12:40:20 +02:00
Fixed random crashing in OS X
This commit is contained in:
+1
-1
@@ -118,7 +118,7 @@ static void get_app_arguments(int argc, char **argv, int &new_argc, char **&new_
|
|||||||
strcpy(new_argv[i], temp_argv[i].c_str());
|
strcpy(new_argv[i], temp_argv[i].c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
new_argv[new_argc+1] = NULL;
|
new_argv[new_argc] = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // LOVE_LEGENDARY_APP_ARGV_HACK
|
#endif // LOVE_LEGENDARY_APP_ARGV_HACK
|
||||||
|
|||||||
Reference in New Issue
Block a user