aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/symmetry.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcrystfel/src/symmetry.c b/libcrystfel/src/symmetry.c
index 4cc1e63e..897d134f 100644
--- a/libcrystfel/src/symmetry.c
+++ b/libcrystfel/src/symmetry.c
@@ -1736,8 +1736,8 @@ char *get_matrix_name(const IntegerMatrix *m, int row)
}
if ( abs(v) > 1 ) {
- char num[3];
- snprintf(num, 2, "%i", abs(v));
+ char num[11];
+ snprintf(num, 11, "%i", abs(v));
add_chars(text, num, max_len);
}