From faa06f927bb642b5c5e89170987651e86f59db30 Mon Sep 17 00:00:00 2001 From: Magnus Lundborg Date: Mon, 13 Jan 2014 14:21:33 +0100 Subject: Fix to last commit. 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); } -- cgit v0.10.1