conv: shorten: maintain proper string length if max_length is odd
commit6af99edcc14b85859cf35dfa07964d70105d4e0b
authorAndrzej Rybczak <electricityispower@gmail.com>
Sun, 22 Aug 2010 18:58:34 +0000 (22 20:58 +0200)
committerAndrzej Rybczak <electricityispower@gmail.com>
Sun, 22 Aug 2010 18:58:34 +0000 (22 20:58 +0200)
treed3549e19960fee8eb1c2913af85b32a41dc539da
parentf09f7c396f23dba080212a06d0796ef4ce247ec7
conv: shorten: maintain proper string length if max_length is odd
src/conv.cpp