wut icon indicating copy to clipboard operation
wut copied to clipboard

Add `WUT_FORMAT_PRINTF` and fix some format string bugs.

Open dkosmari opened this issue 1 year ago • 0 comments

This adds WUT_FORMAT_PRINTF to decorate printf-like functions.

Incidentally, this revealed a few debug prints that had the wrong number of arguments for the format string, or read the wrong number of bytes from an argument (in devoptab_fsa_truncate.cpp, that one was pretty bad.)

Debug prints were also changed to use %p for pointers. I don't think any of those cases could lead to crashes though.

dkosmari avatar Oct 08 '24 02:10 dkosmari