Skip to content
Snippets Groups Projects
Commit cc476c73 authored by mattijs's avatar mattijs
Browse files

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

Fix provided by Gavin Ridley.
parent 89b0e949
Branches
Tags
No related merge requests found
...@@ -825,6 +825,12 @@ int main(int argc, char *argv[]) ...@@ -825,6 +825,12 @@ int main(int argc, char *argv[])
{ {
string line; string line;
inFile.getLine(line); inFile.getLine(line);
if (line.empty())
{
continue;
}
IStringStream lineStr(line); IStringStream lineStr(line);
word tag(lineStr); word tag(lineStr);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment