diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-01-10 20:46:32 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-01-10 20:46:32 +0000 |
| commit | 7c6a7978c020b739e755c2bed56f91c5b7adf509 (patch) | |
| tree | 618bfce436fcc3bb78722da2e7e2023616b0479f /macosx/Plugin.c | |
| parent | e66ba25d49a90a20e2465cadeef8e2e83ce291bc (diff) | |
| download | pcsxr-7c6a7978c020b739e755c2bed56f91c5b7adf509.tar.gz | |
Use strlcpy on OS X code.
> Better handling of the net system on OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82182 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/Plugin.c')
| -rwxr-xr-x | macosx/Plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/Plugin.c b/macosx/Plugin.c index 02951613..691af379 100755 --- a/macosx/Plugin.c +++ b/macosx/Plugin.c @@ -95,7 +95,7 @@ int _OpenPlugins() { strcpy(info.EmuName, "PCSX " PACKAGE_VERSION); strncpy(info.CdromID, CdromId, 9); - strncpy(info.CdromLabel, CdromLabel, 9); + strncpy(info.CdromLabel, CdromLabel, 11); info.psxMem = psxM; info.GPU_showScreenPic = GPU_showScreenPic; info.GPU_displayText = GPU_displayText; |
