Fix indenting of .tpr parameter dump in mdrun log file
authorMark Abraham <mark.j.abraham@gmail.com>
Tue, 13 May 2014 07:25:29 +0000 (09:25 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Sun, 18 May 2014 20:41:36 +0000 (22:41 +0200)
This got broken recently in I39550bff60

Fixes #1447

Change-Id: I3e9765e56081d28dd0855d8d8f3fdf39b900993b

src/gromacs/gmxlib/txtdump.c

index e1705d20d0d96d83882d5b2bfce16bff745940bb..e031d39233fa7dd0f6ac92b91995a4a17c86275d 100644 (file)
@@ -406,7 +406,7 @@ void pr_reals_of_dim(FILE *fp, int indent, const char *title, real *vec, int n,
 static void pr_int(FILE *fp, int indent, const char *title, int i)
 {
     pr_indent(fp, indent);
-    fprintf(fp, "%-20s = %d\n", title, i);
+    fprintf(fp, "%-30s = %d\n", title, i);
 }
 
 static void pr_int64(FILE *fp, int indent, const char *title, gmx_int64_t i)
@@ -414,19 +414,19 @@ static void pr_int64(FILE *fp, int indent, const char *title, gmx_int64_t i)
     char buf[STEPSTRSIZE];
 
     pr_indent(fp, indent);
-    fprintf(fp, "%-20s = %s\n", title, gmx_step_str(i, buf));
+    fprintf(fp, "%-30s = %s\n", title, gmx_step_str(i, buf));
 }
 
 static void pr_real(FILE *fp, int indent, const char *title, real r)
 {
     pr_indent(fp, indent);
-    fprintf(fp, "%-20s = %g\n", title, r);
+    fprintf(fp, "%-30s = %g\n", title, r);
 }
 
 static void pr_double(FILE *fp, int indent, const char *title, double d)
 {
     pr_indent(fp, indent);
-    fprintf(fp, "%-20s = %g\n", title, d);
+    fprintf(fp, "%-30s = %g\n", title, d);
 }
 
 static void pr_str(FILE *fp, int indent, const char *title, const char *s)