summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--macosx/PluginList.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/PluginList.m b/macosx/PluginList.m
index b5b61b5c..ba006a50 100644
--- a/macosx/PluginList.m
+++ b/macosx/PluginList.m
@@ -310,7 +310,7 @@ const static int typeList[5] = {PSE_LT_GPU, PSE_LT_SPU, PSE_LT_CDR, PSE_LT_PAD,
char **dst = [PcsxrPlugin configEntriesForType:type];
while (*dst) {
- strncpy(*dst, str, 255);
+ strncpy(*dst, str, MAXPATHLEN);
dst++;
}