summaryrefslogtreecommitdiff
path: root/macosx/plugins/DFXVideo/macsrc/PluginGLView.m
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-01-10 20:46:32 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-01-10 20:46:32 +0000
commit7c6a7978c020b739e755c2bed56f91c5b7adf509 (patch)
tree618bfce436fcc3bb78722da2e7e2023616b0479f /macosx/plugins/DFXVideo/macsrc/PluginGLView.m
parente66ba25d49a90a20e2465cadeef8e2e83ce291bc (diff)
downloadpcsxr-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/plugins/DFXVideo/macsrc/PluginGLView.m')
-rwxr-xr-xmacosx/plugins/DFXVideo/macsrc/PluginGLView.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/plugins/DFXVideo/macsrc/PluginGLView.m b/macosx/plugins/DFXVideo/macsrc/PluginGLView.m
index 8f6f3802..ecfc25e8 100755
--- a/macosx/plugins/DFXVideo/macsrc/PluginGLView.m
+++ b/macosx/plugins/DFXVideo/macsrc/PluginGLView.m
@@ -418,7 +418,7 @@ void BlitScreen16NS(unsigned char * surf,long x,long y)
int len, i;
if(szDebugText[0] && ((time(NULL) - tStart) < 2))
{
- strncpy(szDispBuf, szDebugText, 63);
+ strlcpy(szDispBuf, szDebugText, 63);
}
else
{