diff options
author | Magnus Lundborg <lundborg.magnus@gmail.com> | 2014-01-13 13:21:33 (GMT) |
---|---|---|
committer | Magnus Lundborg <lundborg.magnus@gmail.com> | 2014-01-13 13:21:33 (GMT) |
commit | faa06f927bb642b5c5e89170987651e86f59db30 (patch) | |
tree | 7a9ad8f96cca43a093cf84aa296f03d2becdf296 | |
parent | 1fd4fcb39a138c57856d58c8de0a4193e3612d0c (diff) |
Fix to last commit.
-rw-r--r-- | src/lib/tng_io.c | 4 |
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); } |