diff options
Diffstat (limited to 'libcrystfel')
-rw-r--r-- | libcrystfel/src/symmetry.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libcrystfel/src/symmetry.c b/libcrystfel/src/symmetry.c index 03f04bbd..5cc073b4 100644 --- a/libcrystfel/src/symmetry.c +++ b/libcrystfel/src/symmetry.c @@ -1622,9 +1622,11 @@ static char *get_matrix_name(signed int *v) continue; } - if ( printed ) add_chars(text, "+", max_len); - - if ( v[i]<0 ) add_chars(text, "-", max_len); + if ( v[i]<0 ) { + add_chars(text, "-", max_len); + } else { + if ( printed ) add_chars(text, "+", max_len); + } if ( abs(v[i])>1 ) { char num[3]; |