Browse Source

FIX: DependenyGraph: Fixed infinite loop if an empty or commented line is encountered.

Sascha Zelzer 14 years ago
parent
commit
74cb8067de
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Utilities/DGraph/DGraph.cpp

+ 1 - 0
Utilities/DGraph/DGraph.cpp

@@ -166,6 +166,7 @@ int main(int argc, char** argv)
     // Skip empty line or commented line
     if (line.isEmpty() || line.startsWith("#"))
       {
+      line = in.readLine();
       continue;
       }