mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-03-15 07:00:58 +00:00
doomclassic/doom/wi_stuff.cpp: Fix snprintf compilation error
introduced in commit c8e3cd9fe2
Simple replacement of std:snprintf with idStr:snPrintf, to match all
other instances introduced in the noted commit. This fixes compilation
on g++.
This commit is contained in:
parent
c8e3cd9fe2
commit
bdeef2c18e
1 changed files with 1 additions and 1 deletions
|
@ -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 )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue