From 028bd9767cdc6099cef7cad78b8512761dd88b69 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 15 May 2014 01:37:01 -0700 Subject: Don't bother stripping whitespace from comments --- Alc/alcConfig.c | 6 +----- 1 file changed, 1 insertion(+), 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]) -- cgit v1.2.3