diff options
author | belugas <belugas@openttd.org> | 2008-04-10 02:10:26 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2008-04-10 02:10:26 +0000 |
commit | 032924dbd69f2f0f4a750538c5a4e6bf13bf9dab (patch) | |
tree | 20e4210cf19dcfd9cbc6a65819ed477298d6d063 /src | |
parent | 845c5d0a495e3ea0b05d1d223f9c569992de1e8a (diff) | |
download | openttd-032924dbd69f2f0f4a750538c5a4e6bf13bf9dab.tar.xz |
(svn r12645) -Codechange: a bit of code-style cleanup
Diffstat (limited to 'src')
-rw-r--r-- | src/airport_gui.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/airport_gui.cpp b/src/airport_gui.cpp index b8a647705..020b88095 100644 --- a/src/airport_gui.cpp +++ b/src/airport_gui.cpp @@ -175,7 +175,7 @@ static void BuildAirportPickerWndProc(Window *w, WindowEvent *e) */ 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 @@ static void BuildAirportPickerWndProc(Window *w, WindowEvent *e) 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) { |