diff options
Diffstat (limited to 'src/lib/tng_io.c')
-rw-r--r-- | src/lib/tng_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/tng_io.c b/src/lib/tng_io.c index e6f2956..fd44205 100644 --- a/src/lib/tng_io.c +++ b/src/lib/tng_io.c @@ -5573,7 +5573,7 @@ tng_function_status tng_chain_name_of_particle_nr_get { return(TNG_FAILURE); } - if(!atom->residue || atom->residue->chain) + if(!atom->residue || !atom->residue->chain) { return(TNG_FAILURE); } |