diff options
author | Chris Robinson <[email protected]> | 2012-02-19 17:24:01 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-02-19 17:24:01 -0800 |
commit | 40bb8bd9dc53d97d6cf1afbced2c9f945e62481c (patch) | |
tree | 16d8ed982bab47502cba2b405102872acf7d81a7 /Alc | |
parent | 426f0273cbfc1aa39d1956a9e5d4cff527dd6e34 (diff) |
Remove the trailing double-underscore from a couple env vars
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALc.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -498,7 +498,7 @@ static void alc_init(void) if(str && (strcasecmp(str, "true") == 0 || strtol(str, NULL, 0) == 1)) ZScale = -1.0f; - str = getenv("__ALSOFT_TRAP_ERROR"); + str = getenv("ALSOFT_TRAP_ERROR"); if(str && (strcasecmp(str, "true") == 0 || strtol(str, NULL, 0) == 1)) { TrapALError = AL_TRUE; @@ -506,11 +506,11 @@ static void alc_init(void) } else { - str = getenv("__ALSOFT_TRAP_AL_ERROR"); + str = getenv("ALSOFT_TRAP_AL_ERROR"); if(str && (strcasecmp(str, "true") == 0 || strtol(str, NULL, 0) == 1)) TrapALError = AL_TRUE; - str = getenv("__ALSOFT_TRAP_ALC_ERROR"); + str = getenv("ALSOFT_TRAP_ALC_ERROR"); if(str && (strcasecmp(str, "true") == 0 || strtol(str, NULL, 0) == 1)) TrapALCError = ALC_TRUE; } @@ -723,7 +723,7 @@ static void alc_initconfig(void) } InitEffect(&ForcedEffect); - str = getenv("__ALSOFT_DEFAULT_REVERB"); + str = getenv("ALSOFT_DEFAULT_REVERB"); if(str && str[0]) GetReverbEffect(str, &ForcedEffect); else if(ConfigValueStr(NULL, "default-reverb", &str)) |