mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-09 01:01:07 +00:00
* cd_sdl.c (export_cddev_arg): make putevn() actually work.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@290 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
010a465de2
commit
834e2cf868
1 changed files with 1 additions and 1 deletions
|
@ -493,7 +493,7 @@ static void export_cddev_arg (void)
|
|||
int i = COM_CheckParm("-cddev");
|
||||
if (i != 0 && i < com_argc - 1 && com_argv[i+1][0] != '\0')
|
||||
{
|
||||
char arg[64];
|
||||
static char arg[64];
|
||||
q_snprintf(arg, sizeof(arg), "SDL_CDROM=%s", com_argv[i+1]);
|
||||
putenv(arg);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue