Commit 5e3c5393 authored by Xiaoxiao Liu's avatar Xiaoxiao Liu Committed by Code Review

Merge topic 'newick_named_root' into master

a788e7ff fix Newick reader for named root vertex
parents 2eb08f98 a788e7ff
......@@ -353,7 +353,7 @@ void vtkNewickTreeReader::CountNodes(char * const buffer, vtkIdType *numNodes)
}
else if (*current != ';' && *current != '\0')
{
while (*current != ':')
while (*current != ':' && *(current+1) != ';' && *(current+1) != '\0')
{
current++;
}
......
Markdown is supported
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