diff options
author | Ken Martin <ken.martin@kitware.com> | 2001-05-08 20:20:24 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2001-05-08 20:20:24 (GMT) |
commit | 67e31b789f0db7431232e499268cd2caed460bf5 (patch) | |
tree | 8223d18250c4456b689b53674862ed8e295d21e6 /Source/cmVTKWrapTclCommand.cxx | |
parent | 7b2e824bc0fb9353302a38308387852f17bcef91 (diff) | |
download | CMake-67e31b789f0db7431232e499268cd2caed460bf5.zip CMake-67e31b789f0db7431232e499268cd2caed460bf5.tar.gz CMake-67e31b789f0db7431232e499268cd2caed460bf5.tar.bz2 |
fixed bug in init code
Diffstat (limited to 'Source/cmVTKWrapTclCommand.cxx')
-rw-r--r-- | Source/cmVTKWrapTclCommand.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmVTKWrapTclCommand.cxx b/Source/cmVTKWrapTclCommand.cxx index 7f3958a..8080c43 100644 --- a/Source/cmVTKWrapTclCommand.cxx +++ b/Source/cmVTKWrapTclCommand.cxx @@ -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"); |