Fixes #882 - looping bug in trxio.c
[alexxy/gromacs.git] / src / tools / gmx_trjcat.c
index 2ca470dc4864c0b5df8a3848d893077e768ee8d9..3f5296a14150c51d51af22cb923dfc05f026f8e3 100644 (file)
@@ -684,7 +684,7 @@ int gmx_trjcat(int argc, char *argv[])
                 {
                     searchtime = last_frame_time;
                 }
-                if (xtc_seek_time(stfio,searchtime,fr.natoms))
+                if (xtc_seek_time(stfio,searchtime,fr.natoms,TRUE))
                 {
                     gmx_fatal(FARGS,"Error seeking to append position.");
                 }