summaryrefslogtreecommitdiff
path: root/bridge_gui.c
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2006-08-28 18:53:03 +0000
committerrubidium <rubidium@openttd.org>2006-08-28 18:53:03 +0000
commit86dc219b4b668913b2deb90bf7ddfe0a479e3acd (patch)
tree9de9b15a15bde4d4e092c3abfde1fae7eb2d76f0 /bridge_gui.c
parentd8644d941d4205cb95890f84165c787872b36da5 (diff)
downloadopenttd-86dc219b4b668913b2deb90bf7ddfe0a479e3acd.tar.xz
(svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {' -> '} else {', tabs between code and comment, etc.
Diffstat (limited to 'bridge_gui.c')
-rw-r--r--bridge_gui.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bridge_gui.c b/bridge_gui.c
index d7e9fbda0..1ee87f1cd 100644
--- a/bridge_gui.c
+++ b/bridge_gui.c
@@ -134,8 +134,8 @@ void ShowBuildBridgeWindow(TileIndex start, TileIndex end, byte bridge_type)
errmsg = _error_message;
} else {
// check which bridges can be built
- int bridge_len; // length of the middle parts of the bridge
- int tot_bridgedata_len; // total length of bridge
+ int bridge_len; // length of the middle parts of the bridge
+ int tot_bridgedata_len; // total length of bridge
// get absolute bridge length
bridge_len = GetBridgeLength(start, end);
@@ -143,7 +143,7 @@ void ShowBuildBridgeWindow(TileIndex start, TileIndex end, byte bridge_type)
tot_bridgedata_len = CalcBridgeLenCostFactor(tot_bridgedata_len);
- for (bridge_type = 0; bridge_type != MAX_BRIDGES; bridge_type++) { // loop for all bridgetypes
+ for (bridge_type = 0; bridge_type != MAX_BRIDGES; bridge_type++) { // loop for all bridgetypes
if (CheckBridge_Stuff(bridge_type, bridge_len)) {
const Bridge *b = &_bridge[bridge_type];
// bridge is accepted, add to list