Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Christian Butz
VTK
Commits
a9b4b3f0
Commit
a9b4b3f0
authored
Aug 29, 2005
by
Andy Cedilnik
Browse files
BUG: Fix logic
parent
9aaac6a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Wrapping/Tcl/vtkTkAppInit.cxx
View file @
a9b4b3f0
...
...
@@ -39,7 +39,7 @@ PURPOSE. See the above copyright notice for more information.
#include
<sys/stat.h>
#endif
#if
n
def VTK_USE_TK
#ifdef VTK_USE_TK
# include "vtkTk.h"
#else
# include "vtkTcl.h"
...
...
@@ -141,7 +141,7 @@ main(int argc, char **argv)
vtkstd
::
string
av0
=
vtksys
::
SystemTools
::
CollapseFullPath
(
argv
[
0
]);
Tcl_FindExecutable
(
av0
.
c_str
());
#if
n
def VTK_USE_TK
#ifdef VTK_USE_TK
Tk_Main
(
argc
,
argv
,
Tcl_AppInit
);
#else
Tcl_Main
(
argc
,
argv
,
Tcl_AppInit
);
...
...
@@ -382,7 +382,7 @@ int Tcl_AppInit(Tcl_Interp *interp)
return
TCL_ERROR
;
}
#if
n
def VTK_USE_TK
#ifdef VTK_USE_TK
if
(
Tk_Init
(
interp
)
==
TCL_ERROR
)
{
return
TCL_ERROR
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment