mpaland/printf

Bug in # flag

ledvinap opened this issue · 0 comments

sprintf("%#4x", 0x1234); produces `"0x34"
It is caused by wrong '0x' space compensation when width equals output

BTW: I'm fixing issues reported, no need to work on it immediately