vtk/vtk-Balloon-Representation.patch

13 lines
670 B
Diff

diff -ur VTK//Widgets/vtkBalloonRepresentation.cxx VTK.new//Widgets/vtkBalloonRepresentation.cxx
--- VTK//Widgets/vtkBalloonRepresentation.cxx 2010-09-28 02:10:11.000000000 +0530
+++ VTK.new//Widgets/vtkBalloonRepresentation.cxx 2011-04-14 05:15:50.706000023 +0530
@@ -215,7 +215,7 @@
int size[2];
size[0] = (this->Renderer->GetSize())[0];
size[1] = (this->Renderer->GetSize())[1];
- int stringSize[2]; stringSize[0] = stringSize[0] = 0;
+ int stringSize[2]; stringSize[0] = stringSize[1] = 0;
double imageSize[2]; imageSize[0] = imageSize[1] = 0.0;
double frameSize[2]; frameSize[0] = frameSize[1] = 0.0;
double io[2], so[2], fo[2];