diff -r 9dbfc0031887 -r 362b7659dc76 src/error.c --- a/src/error.c Wed Nov 08 21:53:43 2023 +0100 +++ b/src/error.c Wed Nov 08 23:17:07 2023 +0100 @@ -43,7 +43,7 @@ if (text.length == 0) return; // write error to debug output - asc_dprintf("ERROR: %*.s", (int)text.length, text.ptr); + asc_dprintf("ERROR: %.*s", (int)text.length, text.ptr); // write error to buffer CxBuffer* buf = &asc_context.error_buffer;