Merge pull request #404 from mdmallardi/fix_snprintf

doomclassic/doom/wi_stuff.cpp:  Fix snprintf compilation error
This commit is contained in:
Robert Beckebans 2017-11-17 12:01:49 +01:00 committed by GitHub
commit 931b61356b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1511,7 +1511,7 @@ void WI_loadData(void)
// DHM - Nerve :: Use our background image
//strcpy(name, "DMENUPIC");
else
std::snprintf(name, sizeof( name ), "WIMAP%d", ::g->wbs->epsd);
idStr::snPrintf(name, sizeof( name ), "WIMAP%d", ::g->wbs->epsd);
if ( ::g->gamemode == retail )
{