Merge release-5-0 into master
[alexxy/gromacs.git] / src / gromacs / gmxlib / txtdump.c
index d0dbca8405c0985b605b537b77b45a103f3d9b68..2d45b2754606959545ffbbba894d764ad4c81383 100644 (file)
@@ -271,7 +271,7 @@ void pr_rvecs(FILE *fp, int indent, const char *title, rvec vec[], int n)
     const char *format;
     int         i, j;
 
-    if (getenv("LONGFORMAT") != NULL)
+    if (getenv("GMX_PRINT_LONGFORMAT") != NULL)
     {
         format = flong;
     }
@@ -308,7 +308,7 @@ void pr_rvecs_of_dim(FILE *fp, int indent, const char *title, rvec vec[], int n,
     const char *format;
     int         i, j;
 
-    if (getenv("LONGFORMAT") != NULL)
+    if (getenv("GMX_PRINT_LONGFORMAT") != NULL)
     {
         format = flong;
     }
@@ -376,7 +376,7 @@ void pr_reals_of_dim(FILE *fp, int indent, const char *title, real *vec, int n,
     const char *flong  = "%15.8e";
     const char *format;
 
-    if (getenv("LONGFORMAT") != NULL)
+    if (getenv("GMX_PRINT_LONGFORMAT") != NULL)
     {
         format = flong;
     }