libsdl-org / SDL

Simple Directmedia Layer

Home Page:https://libsdl.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`SDL_PrintString` ignores `SDL_FormatInfo.left_justify`

howprice opened this issue · comments

This means that left-aligned fixed width strings are not supported, for example:

sprintf(buffer, sizeof(buffer), "    %-14s%s,%s", mnemonic, srcOperand, dstOperand);

Fixed, thanks!

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?

You're welcome! The fix is already backported to SDL2 and cherry-picked for the next release.

Wonderful. Thanks again.

You're welcome!