Changeset - r26255:c5b7e32d88b6
[Not reviewed]
patchpack
0 1 0
Ruby Dennington (Theleruby) - 23 months ago 2022-05-10 15:24:33
theleruby@gmail.com
Fix the 10 pixel indent not being taken into account when calculating the max string width
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/company_gui.cpp
Show inline comments
 
@@ -114,7 +114,7 @@ struct ExpensesList {
 
			ExpensesType et = this->et[i];
 
			width = std::max(width, GetStringBoundingBox(STR_FINANCES_SECTION_CONSTRUCTION + et).width);
 
		}
 
		return width;
 
		return width + 10;
 
	}
 
};
 

	
0 comments (0 inline, 0 general)