`SDL_PrintString` ignores `SDL_FormatInfo.left_justify`
howprice opened this issue · comments
howprice commented
This means that left-aligned fixed width strings are not supported, for example:
sprintf(buffer, sizeof(buffer), " %-14s%s,%s", mnemonic, srcOperand, dstOperand);
Sam Lantinga commented
Fixed, thanks!
howprice commented
Fixed, thanks!
Thank you very much. I'm sorry I couldn't find the time to tackle this myself.
Could you please tell me if there is a process to "backport" this change into SDL2?
Sam Lantinga commented
You're welcome! The fix is already backported to SDL2 and cherry-picked for the next release.
howprice commented
Wonderful. Thanks again.
Sam Lantinga commented
You're welcome!