From 40bb8bd9dc53d97d6cf1afbced2c9f945e62481c Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 19 Feb 2012 17:24:01 -0800 Subject: [PATCH] Remove the trailing double-underscore from a couple env vars --- Alc/ALc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Alc/ALc.c b/Alc/ALc.c index a019c23..f4d2084 100644 --- a/Alc/ALc.c +++ b/Alc/ALc.c @@ -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))