Changeset - r13726:b6cb5727fb16
[Not reviewed]
master
0 1 0
rubidium - 15 years ago 2009-11-23 20:14:42
rubidium@openttd.org
(svn r18261) -Codechange: center the company icons in the toolbar dropdowns
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/toolbar_gui.cpp
Show inline comments
 
@@ -167,7 +167,7 @@ public:
 
		/* It's possible the company is deleted while the dropdown is open */
 
		if (!Company::IsValidID(company)) return;
 

	
 
		DrawCompanyIcon(company, rtl ? right - 16 : left + 2, top + 1);
 
		DrawCompanyIcon(company, rtl ? right - 16 : left + 2, top + 1 + (FONT_HEIGHT_NORMAL - 10) / 2);
 

	
 
		SetDParam(0, company);
 
		SetDParam(1, company);
0 comments (0 inline, 0 general)