diff options
| -rw-r--r-- | macosx/PluginList.m | 2 |
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++; } |
