mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Fix env variable scope
This commit is contained in:
parent
8c7f1ed329
commit
65f3908747
@ -759,7 +759,7 @@ DoInit (int argc, char * argv[], bool & exit)
|
|||||||
#ifdef __LINUX__
|
#ifdef __LINUX__
|
||||||
if (!getenv ("ALSA_CONFIG_DIR"))
|
if (!getenv ("ALSA_CONFIG_DIR"))
|
||||||
{
|
{
|
||||||
char env[256];
|
static char env[256];
|
||||||
snprintf (env, sizeof (env), "ALSA_CONFIG_DIR=/usr/share/alsa");
|
snprintf (env, sizeof (env), "ALSA_CONFIG_DIR=/usr/share/alsa");
|
||||||
putenv (env);
|
putenv (env);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user