Cleanup environment variables.
[alexxy/gromacs.git] / src / gromacs / gmxlib / viewit.c
index feb6898642ea2889218f119ef73a0519b399b84e..0384bc921f0253c2a7305258879b27bcc5669f23 100644 (file)
@@ -95,7 +95,7 @@ void do_view(const output_env_t oenv, const char *fn, const char *opts)
                 case efXVG:
                     if (!(cmd = getenv(env)) )
                     {
-                        if (getenv("XMGR") )
+                        if (getenv("GMX_USE_XMGR") )
                         {
                             cmd = "xmgr";
                         }