diff options
-rw-r--r-- | datatest.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/datatest.cpp b/datatest.cpp index 9155e83d..2338b9fc 100644 --- a/datatest.cpp +++ b/datatest.cpp @@ -1120,6 +1120,7 @@ bool GetField(std::istream &is, std::string &name, std::string &value) while (Readline(is, line))
{
// Eat empty lines and comments gracefully
+ line = TrimSpace(line);
if (line.empty() || line[0] == '#')
continue;
|