1.1 --- a/src/error.c Wed Nov 08 21:53:43 2023 +0100 1.2 +++ b/src/error.c Wed Nov 08 23:17:07 2023 +0100 1.3 @@ -43,7 +43,7 @@ 1.4 if (text.length == 0) return; 1.5 1.6 // write error to debug output 1.7 - asc_dprintf("ERROR: %*.s", (int)text.length, text.ptr); 1.8 + asc_dprintf("ERROR: %.*s", (int)text.length, text.ptr); 1.9 1.10 // write error to buffer 1.11 CxBuffer* buf = &asc_context.error_buffer;