]> Sergey Matveev's repositories - nnn.git/commit
fix rounding carry in coolsize() (#91)
authorAlex Suykov <alex.suykov@gmail.com>
Sun, 4 Mar 2018 19:18:10 +0000 (21:18 +0200)
committerArun Prakash Jana <engineerarun@gmail.com>
Sun, 4 Mar 2018 19:18:10 +0000 (00:48 +0530)
commit7654a2e0c6057c6d6d85e0625627e3e1dbe8d52d
treeba3de66b6c3a15c04a7e24f78095ca1cde5f93fa
parent3036b8a733fed06d83a2dca26d5e31de47438403
fix rounding carry in coolsize() (#91)

Sizes like 1.999 get rounded to (1 + 100/100), which should be displayed
as 2.00 not 1.100 as simple %i.%02i would do without additional measures.
nnn.c