From 8397eb6778c4070c3c161575f0fe380752ed247d Mon Sep 17 00:00:00 2001 From: Berk Geveci Date: Tue, 5 Jun 2001 17:46:12 -0400 Subject: Module name between Unix and Windows got switched by mistake. --- Source/cmVTKWrapPythonCommand.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/cmVTKWrapPythonCommand.cxx b/Source/cmVTKWrapPythonCommand.cxx index 5cf3ec2..663f5fc 100644 --- a/Source/cmVTKWrapPythonCommand.cxx +++ b/Source/cmVTKWrapPythonCommand.cxx @@ -204,9 +204,9 @@ bool cmVTKWrapPythonCommand::WriteInit(const char *kitName, /* module init function */ fprintf(fout," PyObject *m, *d, *c;\n\n"); #ifdef _WIN32 - fprintf(fout," static char modulename[] = \"lib%s\";\n",kitName); -#else fprintf(fout," static char modulename[] = \"%s\";\n",kitName); +#else + fprintf(fout," static char modulename[] = \"lib%s\";\n",kitName); #endif fprintf(fout," m = Py_InitModule(modulename, Py%s_ClassMethods);\n", kitName); -- cgit v0.12