summaryrefslogtreecommitdiff
path: root/src/lib/tng_io.c
diff options
context:
space:
mode:
authorMagnus Lundborg <lundborg.magnus@gmail.com>2014-01-13 13:21:33 (GMT)
committerMagnus Lundborg <lundborg.magnus@gmail.com>2014-01-13 13:21:33 (GMT)
commitfaa06f927bb642b5c5e89170987651e86f59db30 (patch)
tree7a9ad8f96cca43a093cf84aa296f03d2becdf296 /src/lib/tng_io.c
parent1fd4fcb39a138c57856d58c8de0a4193e3612d0c (diff)
Fix to last commit.
Diffstat (limited to 'src/lib/tng_io.c')
-rw-r--r--src/lib/tng_io.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/tng_io.c b/src/lib/tng_io.c
index c17eeef..71c8245 100644
--- a/src/lib/tng_io.c
+++ b/src/lib/tng_io.c
@@ -10992,6 +10992,10 @@ tng_function_status DECLSPECDLLEXPORT tng_num_frame_sets_get
*frame_set = orig_frame_set;
+ fseek(tng_data->input_file,
+ (long)tng_data->first_trajectory_frame_set_input_file_pos,
+ SEEK_SET);
+
return(TNG_SUCCESS);
}
contact: Jan Huwald // Impressum