tweak ellipsis threshold introduced by 2010-05-14T18:27:23Z!alinkmaze@gmail.com

This commit is contained in:
Ali El Gariani 2010-05-14 20:25:13 +00:00
parent 744aa1c853
commit 84f68f8c2c

View file

@ -2190,7 +2190,7 @@ void display::refresh_report(reports::TYPE report_num, reports::report report)
surface s = text.render();
// check if next element is text with almost no space to show it
const int minimal_text = 8; // width in pixels
const int minimal_text = 12; // width in pixels
if(!eol && rect.w - (x - rect.x + s->w) < minimal_text
&& e+1 != report.end() && !(e+1)->text.empty())
{