summaryrefslogtreecommitdiffstats
path: root/Source/cmVTKWrapPythonCommand.cxx
diff options
context:
space:
mode:
authorBerk Geveci <berk.geveci@kitware.com>2001-06-05 21:46:12 (GMT)
committerBerk Geveci <berk.geveci@kitware.com>2001-06-05 21:46:12 (GMT)
commit8397eb6778c4070c3c161575f0fe380752ed247d (patch)
tree8bc85075423547688591bc690ca724aa4a6b409a /Source/cmVTKWrapPythonCommand.cxx
parent46aa080edc059d96c0ef7ce9c2e31fa7173c63bd (diff)
downloadCMake-8397eb6778c4070c3c161575f0fe380752ed247d.zip
CMake-8397eb6778c4070c3c161575f0fe380752ed247d.tar.gz
CMake-8397eb6778c4070c3c161575f0fe380752ed247d.tar.bz2
Module name between Unix and Windows got switched by mistake.
Diffstat (limited to 'Source/cmVTKWrapPythonCommand.cxx')
-rw-r--r--Source/cmVTKWrapPythonCommand.cxx4
1 files 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);