aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Config.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Config.cpp b/src/Config.cpp
index 2938338..191beb4 100644
--- a/src/Config.cpp
+++ b/src/Config.cpp
@@ -39,6 +39,9 @@ namespace QuickMedia {
if(len < 2)
continue;
+ if(line[0] == '#')
+ continue;
+
if(line[len - 1] == '\n') {
line[len - 1] = '\0';
len--;