summaryrefslogtreecommitdiff
path: root/src/strife/m_saves.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/strife/m_saves.c')
-rw-r--r--src/strife/m_saves.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strife/m_saves.c b/src/strife/m_saves.c
index a4068c4f..2908b694 100644
--- a/src/strife/m_saves.c
+++ b/src/strife/m_saves.c
@@ -501,7 +501,7 @@ char M_GetFilePath(const char *fn, char *dest, size_t len)
p = dest + len - 1;
- strncpy(dest, fn, len);
+ M_StringCopy(dest, fn, len);
while(p >= dest)
{