diff options
author | retro-wertz | 2019-08-03 20:56:36 +0800 |
---|---|---|
committer | retro-wertz | 2019-08-03 20:56:36 +0800 |
commit | e6f1e7f70c3ee3816e417f97aef1501a1f950976 (patch) | |
tree | 99b4ed96c372825a41018465bfddf907a48084ad /libpcsxcore | |
parent | 6e522b2b410e29bc2984d621dd368aa2d2d489af (diff) | |
download | pcsx_rearmed-e6f1e7f70c3ee3816e417f97aef1501a1f950976.tar.gz pcsx_rearmed-e6f1e7f70c3ee3816e417f97aef1501a1f950976.tar.bz2 pcsx_rearmed-e6f1e7f70c3ee3816e417f97aef1501a1f950976.zip |
Silence a few more warnings
- silence a few more truncated warnings
- change "disable" to "disabled" in core options
Diffstat (limited to 'libpcsxcore')
-rw-r--r-- | libpcsxcore/plugins.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpcsxcore/plugins.c b/libpcsxcore/plugins.c index 0c2b190..af7ebed 100644 --- a/libpcsxcore/plugins.c +++ b/libpcsxcore/plugins.c @@ -1182,7 +1182,7 @@ void SetIsoFile(const char *filename) { IsoFile[0] = '\0'; return; } - strncpy(IsoFile, filename, MAXPATHLEN); + strncpy(IsoFile, filename, MAXPATHLEN - 1); } const char *GetIsoFile(void) { |