From 1c7cdced25eeff6255644e68ba7f99d2098a1966 Mon Sep 17 00:00:00 2001 From: Mark Abraham Date: Tue, 13 May 2014 09:25:29 +0200 Subject: [PATCH] Fix indenting of .tpr parameter dump in mdrun log file This got broken recently in I39550bff60 Fixes #1447 Change-Id: I3e9765e56081d28dd0855d8d8f3fdf39b900993b --- src/gromacs/gmxlib/txtdump.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gromacs/gmxlib/txtdump.c b/src/gromacs/gmxlib/txtdump.c index e1705d20d0..e031d39233 100644 --- a/src/gromacs/gmxlib/txtdump.c +++ b/src/gromacs/gmxlib/txtdump.c @@ -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) -- 2.22.0