Commit 7cc9961f authored by mattijs's avatar mattijs Committed by Andrew Heather
Browse files

BUG: gmsh: skip empty lines. See #1155.

Fix provided by Gavin Ridley.
parent f7673371
......@@ -825,6 +825,12 @@ int main(int argc, char *argv[])
{
string line;
inFile.getLine(line);
if (line.empty())
{
continue;
}
IStringStream lineStr(line);
word tag(lineStr);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment