From d37d32eee9ee6fd7337897beb300fb6b7fb24227 Mon Sep 17 00:00:00 2001 From: Ketmar Dark Date: Fri, 1 Apr 2016 02:44:22 +0300 Subject: [PATCH] cosmetic fix --- dengapi.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dengapi.d b/dengapi.d index 61e9652..bb6cdb3 100644 --- a/dengapi.d +++ b/dengapi.d @@ -172,7 +172,7 @@ public void registerWadScripts () { auto t = loadTextFile("scripts/dacsmain.txt"); foreach (string line; t.split('\n')) { while (line.length && line[0] <= ' ') line = line[1..$]; - if (line.length == 0 || line[0] == ';') continue; + if (line.length == 0 || line[0] == ';' || line[0] == '#') continue; while (line.length && line[$-1] <= ' ') line = line[0..$-1]; import std.algorithm : canFind; if (!dacsModules.canFind(line)) dacsModules ~= line; -- 2.11.4.GIT