diff options
Diffstat (limited to 'src/strife/wi_stuff.c')
-rw-r--r-- | src/strife/wi_stuff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/strife/wi_stuff.c b/src/strife/wi_stuff.c index f322e31f..8521db9f 100644 --- a/src/strife/wi_stuff.c +++ b/src/strife/wi_stuff.c @@ -1697,12 +1697,12 @@ static void WI_loadUnloadData(load_callback_t callback) if (gamemode == commercial) { - strncpy(name, DEH_String("INTERPIC"), 9); + M_StringCopy(name, DEH_String("INTERPIC"), sizeof(name)); name[8] = '\0'; } else if (gamemode == retail && wbs->epsd == 3) { - strncpy(name, DEH_String("INTERPIC"), 9); + M_StringCopy(name, DEH_String("INTERPIC"), sizeof(name)); name[8] = '\0'; } else |