diff options
| author | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-12-03 16:05:27 (GMT) | 
|---|---|---|
| committer | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-12-03 16:05:27 (GMT) | 
| commit | b58e89cd03761cfa3dc80d2d7552da824b6dc782 (patch) | |
| tree | df55e3073ba6a1e3332266342e9fdb3f4c45fdfd /src/lib | |
| parent | 1ea01d3cfbbe12f4da37cd4e4497a8303ffeae97 (diff) | |
Faulty logic.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/tng_io.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/tng_io.c b/src/lib/tng_io.c index 5e9977f..bc0c686 100644 --- a/src/lib/tng_io.c +++ b/src/lib/tng_io.c @@ -18038,7 +18038,7 @@ tng_function_status DECLSPECDLLEXPORT tng_util_trajectory_next_frame_present_dat              {                  *n_data_blocks_in_next_frame += 1;              } -            if(n_requested_data_block_ids > 0) +            if(n_requested_data_block_ids <= 0)              {                  temp = realloc(*data_block_ids_in_next_frame, sizeof(int64_t) *                                 (*n_data_blocks_in_next_frame)); @@ -18116,7 +18116,7 @@ tng_function_status DECLSPECDLLEXPORT tng_util_trajectory_next_frame_present_dat              {                  *n_data_blocks_in_next_frame += 1;              } -            if(n_requested_data_block_ids > 0) +            if(n_requested_data_block_ids <= 0)              {                  temp = realloc(*data_block_ids_in_next_frame, sizeof(int64_t) *                                 (*n_data_blocks_in_next_frame));  | 
