aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2009-06-07 20:12:01 -0700
committerChris Robinson <[email protected]>2009-06-07 20:12:01 -0700
commit87ed53c7f6211830e9d336cf94a7516771022692 (patch)
tree2644101873787edb60c5dc084fa166545537cee1
parent89e9437b8417701eb4b9ed28984687221712108c (diff)
Don't read deprecated config files
-rw-r--r--Alc/alcConfig.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/Alc/alcConfig.c b/Alc/alcConfig.c
index aa6ed21e..b6e46139 100644
--- a/Alc/alcConfig.c
+++ b/Alc/alcConfig.c
@@ -222,13 +222,6 @@ void ReadALConfig(void)
}
#else
f = fopen("/etc/openal/alsoft.conf", "r");
- if(!f)
- {
- f = fopen("/etc/openal/config", "r");
- if(f)
- AL_PRINT("Reading /etc/openal/config; this file is deprecated\n"
- "\tPlease rename it to /etc/openal/alsoft.conf\n");
- }
if(f)
{
LoadConfigFromFile(f);
@@ -238,14 +231,6 @@ void ReadALConfig(void)
{
snprintf(buffer, sizeof(buffer), "%s/.alsoftrc", getenv("HOME"));
f = fopen(buffer, "r");
- if(!f)
- {
- snprintf(buffer, sizeof(buffer), "%s/.openalrc", getenv("HOME"));
- f = fopen(buffer, "r");
- if(f)
- AL_PRINT("Reading ~/.openalrc; this file is deprecated\n"
- "\tPlease rename it to ~/.alsoftrc\n");
- }
if(f)
{
LoadConfigFromFile(f);