Merge branch release-2018
[alexxy/gromacs.git] / src / gromacs / fileio / confio.cpp
index 36cd7250bed05b056ac8d6a7c4eb8963b013ede6..5e4bcb961a0e6c2000f0a48e27712471ec748857 100644 (file)
@@ -101,7 +101,7 @@ void write_sto_conf_indexed(const char *outfile, const char *title,
         case efENT:
         case efPQR:
             out = gmx_fio_fopen(outfile, "w");
-            write_pdbfile_indexed(out, title, atoms, x, ePBC, box, ' ', -1, nindex, index, nullptr, TRUE, TRUE);
+            write_pdbfile_indexed(out, title, atoms, x, ePBC, box, ' ', -1, nindex, index, nullptr, TRUE, ftp == efPQR);
             gmx_fio_fclose(out);
             break;
         case efESP: