img: Use a different snprintf fallback approach
commitff023082d77bcf35caa4f19cc0f4358860fbcf85
authorOlly Betts <olly@survex.com>
Mon, 11 Mar 2024 08:19:38 +0000 (11 21:19 +1300)
committerOlly Betts <olly@survex.com>
Mon, 11 Mar 2024 08:19:38 +0000 (11 21:19 +1300)
tree637012da1e98f3a2b5e468ec2fa405f20e38c28f
parent2838223440d5f88f610b14ccb5127a71b269c7f8
img: Use a different snprintf fallback approach

The macro argument wrapper broke on macOS because Apple seem to be doing
evil macro trickery with snprintf.
src/img.c