diff --git a/src/templates_text/templator_text.org b/src/templates_text/templator_text.org index b54f0c1..f1ebae4 100644 --- a/src/templates_text/templator_text.org +++ b/src/templates_text/templator_text.org @@ -435,7 +435,7 @@ trexio_text_read_$group$ (trexio_text_t* const file) } size_t tmp_$group_dset$_len = strlen(buffer); - strncpy(tmp_$group_dset$, buffer, tmp_$group_dset$_len + 1); + strncpy(tmp_$group_dset$, buffer, 32); tmp_$group_dset$ += tmp_$group_dset$_len + 1; } }