summaryrefslogtreecommitdiff
path: root/text
diff options
context:
space:
mode:
authorLawrence Kesteloot (lk <Lawrence Kesteloot (lk@headcode.com)>2014-07-21 22:47:13 -0700
committerLawrence Kesteloot (lk <Lawrence Kesteloot (lk@headcode.com)>2014-07-21 22:47:13 -0700
commite869d1301c550b65bb6b9720a5ba98423861a735 (patch)
tree81c6c8d9874b12cf7b6b65fcfc8354f37871652a /text
parent7b79f51bb56464bcabcd82a31b8ea75c74677689 (diff)
Use integer math in SplitLines().
The math for the limit used to be done in floats, but round-off error sometimes resulted in a string being wrapped at a width that had previously been returned by GetStringWidth() for that same string. (I got this with the string "$53,013" in Arial 12 point.)
Diffstat (limited to 'text')
0 files changed, 0 insertions, 0 deletions