From d45bf7db1f8e54ea35d25600375fea24c4a849b1 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 22 Nov 2013 16:16:07 +0100 Subject: [PATCH] (OSX) apple_run_core - get rid of unneeded strlcpy call --- apple/common/main.m | 1 - 1 file changed, 1 deletion(-) diff --git a/apple/common/main.m b/apple/common/main.m index 63db8de0f4..daba463753 100644 --- a/apple/common/main.m +++ b/apple/common/main.m @@ -40,7 +40,6 @@ void apple_run_core(NSString* core, const char* file) { char basedir[256]; fill_pathname_basedir(basedir, file, sizeof(basedir)); - strlcpy(basedir, file, sizeof(basedir)); if (file && access(basedir, R_OK | W_OK | X_OK)) apple_display_alert(@"The directory containing the selected file has limited permissions. This may " "prevent zipped games from loading, and will cause some cores to not function.", 0);