summaryrefslogtreecommitdiff
path: root/src/dbg.c
diff options
context:
space:
mode:
authorTazyFoundSoup <gardendistrict0x0@outlook.com>2026-05-22 21:08:39 +1000
committerTazyFoundSoup <gardendistrict0x0@outlook.com>2026-05-22 21:08:51 +1000
commit8656027282931d8d279ce66a52775eacf9dd59a9 (patch)
tree38796f59c2f607468be13caf1e907423b43d1ed1 /src/dbg.c
parentee425b55c48c25c7a91b6cba315e6c2cd42d0fb7 (diff)
git(attributes): Force LF for all text files except windows specific
files
Diffstat (limited to 'src/dbg.c')
-rw-r--r--src/dbg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dbg.c b/src/dbg.c
index f61aa36..a12545d 100644
--- a/src/dbg.c
+++ b/src/dbg.c
@@ -53,9 +53,9 @@ static inline void ff_debug_flush(ff_ctx* ctx, char* buffer, size_t* idx)
if (*idx == 0) return;
ctx->ff_debug_stream.write(
- &ctx->ff_debug_stream,
+ buffer,
*idx,
- (uint8_t*)buffer
+ ctx->ff_debug_stream.user
);
*idx = 0;