diff options
author | Chris Robinson <[email protected]> | 2014-05-15 01:37:01 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-05-15 01:37:01 -0700 |
commit | 028bd9767cdc6099cef7cad78b8512761dd88b69 (patch) | |
tree | a1d15764e55b6023b5ce085ddd6f48f8b9566814 /Alc/alcConfig.c | |
parent | 042003896f79881b1a8cd4a89d7e516792b83e4a (diff) |
Don't bother stripping whitespace from comments
Diffstat (limited to 'Alc/alcConfig.c')
-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]) |