Mercurial > hg > openttd
changeset 8878:b74926e124c8 draft
(svn r12645) -Codechange: a bit of code-style cleanup
author | belugas <belugas@openttd.org> |
---|---|
date | Thu, 10 Apr 2008 02:10:26 +0000 |
parents | ee31d0131cd1 |
children | b5a3b4884f6d |
files | src/airport_gui.cpp |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/airport_gui.cpp +++ b/src/airport_gui.cpp @@ -175,7 +175,7 @@ */ for (i = 0; i < 9; i++) w->SetWidgetDisabledState(i + 7, !HasBit(avail_airports, i)); - // select default the coverage area to 'Off' (16) + /* select default the coverage area to 'Off' (16) */ airport = GetAirport(_selected_airport_type); SetTileSelectSize(airport->size_x, airport->size_y); @@ -184,8 +184,7 @@ if (_station_show_coverage) SetTileSelectBigSize(-rad, -rad, 2 * rad, 2 * rad); DrawWindowWidgets(w); - // strings such as 'Size' and 'Coverage Area' - // 'Coverage Area' + /* strings such as 'Size' and 'Coverage Area' */ int text_end = DrawStationCoverageAreaText(2, 206, SCT_ALL, rad, false); text_end = DrawStationCoverageAreaText(2, text_end + 4, SCT_ALL, rad, true) + 4; if (text_end != w->widget[6].bottom) {