]> git.sur5r.net Git - glabels/commit
Do a better job of rounding in lgl_str_format_fraction().
authorJim Evins <evins@snaught.com>
Mon, 3 May 2010 01:39:22 +0000 (21:39 -0400)
committerJim Evins <evins@snaught.com>
Mon, 3 May 2010 01:39:22 +0000 (21:39 -0400)
commit7d926a37cc8956753d610140fc301b845e3a7de9
tree38c5408aa9f01daf55f275ec4aada02f8ecb259b
parent8df8aedaf99f072cb2739fbbdcfa3440acd415eb
Do a better job of rounding in lgl_str_format_fraction().

When a number is determined to be "close enough" to being an integer, don't
just simply cast the number to get the integer value.
libglabels/str.c