summaryrefslogtreecommitdiff
path: root/src/configparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/configparser.cpp')
-rw-r--r--src/configparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configparser.cpp b/src/configparser.cpp
index 056ed54a4..51d67b4f5 100644
--- a/src/configparser.cpp
+++ b/src/configparser.cpp
@@ -319,7 +319,7 @@ void ParseStack::DoReadFile(const std::string& key, const std::string& name, int
{
int len = strlen(linebuf);
if (len)
- cache.push_back(std::string(linebuf, len - 1));
+ cache.push_back(std::string(linebuf, len));
}
}