Merge release-5-0 into master
[alexxy/gromacs.git] / src / gromacs / selection / indexutil.cpp
index fcfe0b8f0a0b1add1e9a6be374f34875788c6e2d..b2f5b053bff5b2a63f0e428e1329b5701df88556 100644 (file)
@@ -268,7 +268,7 @@ gmx_ana_indexgrps_print(FILE *fp, gmx_ana_indexgrps_t *g, int maxn)
 {
     for (int i = 0; i < g->nr; ++i)
     {
-        fprintf(fp, " Group %2d \"%s\" ", i + 1, g->names[i].c_str());
+        fprintf(fp, " Group %2d \"%s\" ", i, g->names[i].c_str());
         gmx_ana_index_dump(fp, &g->g[i], maxn);
     }
 }