aboutsummaryrefslogtreecommitdiff
path: root/src/graph/viewman/fun3D.c
diff options
context:
space:
mode:
authoralfredoport <doyenatccny@gmail.com>2008-10-24 22:25:33 +0000
committeralfredoport <doyenatccny@gmail.com>2008-10-24 22:25:33 +0000
commitca39f5ae7631e3bedf6114f7ebe7dfa2a8579f76 (patch)
tree41d84a37ba3c456cf2f005cfb392d1da1c2df443 /src/graph/viewman/fun3D.c
parent3d4576ed847bfd84b3befaf7c5ae7ee62905ab2a (diff)
downloadopen-axiom-ca39f5ae7631e3bedf6114f7ebe7dfa2a8579f76.tar.gz
Use oa_getenv function.
Diffstat (limited to 'src/graph/viewman/fun3D.c')
-rw-r--r--src/graph/viewman/fun3D.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graph/viewman/fun3D.c b/src/graph/viewman/fun3D.c
index f6f4cd23..638641e9 100644
--- a/src/graph/viewman/fun3D.c
+++ b/src/graph/viewman/fun3D.c
@@ -271,7 +271,7 @@ forkView3D(int typeOfViewport)
#ifdef DEBUG
fprintf(stderr,"Executing ThreeDimensionalViewport process\n");
#endif
- sprintf(envAXIOM,"%s",getenv("AXIOM"));
+ sprintf(envAXIOM,"%s",oa_getenv("AXIOM"));
sprintf(runView,"%s%s",envAXIOM,"/lib/view3D");
check(execl(runView,runView,NULL));
fprintf(stderr,"The viewport manager could not execute view3D.\nCheck that view3D is on your PATH.\n");