Patch for vtkDebugLeaks spelling error
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
There is a small spelling error in the output of vtkDebugLeaks. It says 'class foo has 1 instances...' instead of 'class foo has 1 instance...'. Likewise, it says 'class bar has 2 instance...' instead of 'class bar has 2 instances ...'.
Easy fix:
--- vtkDebugLeaks.cxx.orig 2005-04-14 12:53:34.000000000 +0200 +++ vtkDebugLeaks.cxx 2005-04-14 12:49:39.000000000 +0200 @@ -71,7 +71,7 @@ { char tmp[55]; sprintf(tmp," has %i %s still around.\n",this->Count,
-
(this->Count == 1) ? "instances" : "instance");
-
(this->Count == 1) ? "instance" : "instances"); os += "Class "; os += this->Key; os += tmp;