Skip to content

Commit

Permalink
Fix previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
scemama committed Dec 5, 2024
1 parent 72619db commit 4306e42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/templates_front/templator_front.org
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@ trexio_string_of_error_f (const trexio_exit_code error, char result[<<MAX_STRING
{
const char* pSrc = trexio_string_of_error(error);
size_t sizeCp = strlen(pSrc);
if (sizeCp > MAX_STRING_LENGTH) sizeCp = MAX_STRING_LENGTH;
if (sizeCp > MAX_STRING_LENGTH) sizeCp = <<MAX_STRING_LENGTH()>>;
memcpy(result, pSrc, sizeCp);
result[sizeCp] = '\0';
}
Expand Down

0 comments on commit 4306e42

Please sign in to comment.