diff options
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/alcConfig.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Alc/alcConfig.c b/Alc/alcConfig.c index a058029e..2c9aef41 100644 --- a/Alc/alcConfig.c +++ b/Alc/alcConfig.c @@ -193,11 +193,7 @@ static void LoadConfigFromFile(FILE *f) char value[256] = ""; comment = strchr(buffer, '#'); - if(comment) - { - *(comment++) = 0; - comment = rstrip(lstrip(comment)); - } + if(comment) *(comment++) = 0; line = rstrip(lstrip(buffer)); if(!line[0]) |