Page 1 of 1

fz::sprintf("%02x", 10) got " a", not "0a"

Posted: 2016-10-05 14:33
by twu2
fz::sprintf("%02x", 10) got " a", not "0a"
but fz::sprintf("%02d", 2) will get "02".

it's by design or a bug?

Re: fz::sprintf("%02x", 10) got " a", not "0a"

Posted: 2016-10-05 15:55
by botg
That's a bug.

Re: fz::sprintf("%02x", 10) got " a", not "0a"

Posted: 2016-10-05 16:04
by botg
I've comitted a fix to the repository.