diff options
-rw-r--r-- | src/config.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config.hpp b/src/config.hpp index 097627a..b82f4fb 100644 --- a/src/config.hpp +++ b/src/config.hpp @@ -114,6 +114,9 @@ static std::map<std::string, std::string> get_xdg_variables() { if(len < 2) continue; + if(line[0] == '#') + continue; + if(line[len - 1] == '\n') { line[len - 1] = '\0'; len--; |