fixed bug in init code

This commit is contained in:
Ken Martin 2001-05-08 16:20:24 -04:00
parent 7b2e824bc0
commit 67e31b789f
1 changed files with 2 additions and 2 deletions

View File

@ -196,7 +196,7 @@ bool cmVTKWrapTclCommand::WriteInit(const char *kitName,
fprintf(fout,"ClientData %sNewCommand();\n",classes[i].c_str());
}
if (!strcmp(kitName,"Vtkcommon"))
if (!strcmp(kitName,"Vtkcommontcl"))
{
fprintf(fout,"int vtkCommand(ClientData cd, Tcl_Interp *interp,\n int argc, char *argv[]);\n");
fprintf(fout,"\nTcl_HashTable vtkInstanceLookup;\n");
@ -226,7 +226,7 @@ bool cmVTKWrapTclCommand::WriteInit(const char *kitName,
fprintf(fout,"\n\nint VTK_EXPORT %s_Init(Tcl_Interp *interp)\n{\n",
kitName);
if (!strcmp(kitName,"Vtkcommon"))
if (!strcmp(kitName,"Vtkcommontcl"))
{
fprintf(fout,
" vtkTclInterpStruct *info = new vtkTclInterpStruct;\n");