From 86dc219b4b668913b2deb90bf7ddfe0a479e3acd Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 28 Aug 2006 18:53:03 +0000 Subject: (svn r6204) -Cleanup: replace non-indentation with spaces; like '}else {' -> '} else {', tabs between code and comment, etc. --- bridge_gui.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bridge_gui.c') 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 -- cgit v1.2.3-54-g00ecf