Skip to content
Snippets Groups Projects
Commit 5e3c5393 authored by Xiaoxiao Liu's avatar Xiaoxiao Liu Committed by Code Review
Browse files

Merge topic 'newick_named_root' into master

a788e7ff fix Newick reader for named root vertex
parents 2eb08f98 a788e7ff
No related branches found
No related tags found
No related merge requests found
......@@ -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++;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment