fix toAscii function
c == 0 was a dead branch because of the way printable ascii was calculated. Move it up instead. While at it, replace std::transform with std::replace. Easier to read. Signed-off-by: Rosen Penev <rosenp@gmail.com>main
parent
22a4b71752
commit
e1b3dfa278
Loading…
Reference in New Issue