Commit 1695475d authored by Bill Lorensen's avatar Bill Lorensen
Browse files

ERR: in constructor... string was assigned to FilePrefix. Changed to strdup

of same string.
parent b1a74f1d
......@@ -46,7 +46,7 @@ MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
vtkVolumeReader::vtkVolumeReader()
{
this->FilePrefix = NULL;
this->FilePattern = "%s.%d";
this->FilePattern = strdup ("%s.%d");
this->ImageRange[0] = this->ImageRange[1] = 1;
this->DataOrigin[0] = this->DataOrigin[1] = this->DataOrigin[2] = 0.0;
this->DataAspectRatio[0] = this->DataAspectRatio[1] = this->DataAspectRatio[2] = 1.0;
......
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