summaryrefslogtreecommitdiff
path: root/src/viewport.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-04-18 22:10:36 +0000
committerrubidium <rubidium@openttd.org>2007-04-18 22:10:36 +0000
commit80c259f64fd38cdb84f2bcb8a146e7ec4a448070 (patch)
treef018095aed2d70f8386d800c8e8ac662f4b9c8fa /src/viewport.cpp
parent41cf2fa69b8ff60f1b1633b68f47434075d00d75 (diff)
downloadopenttd-80c259f64fd38cdb84f2bcb8a146e7ec4a448070.tar.xz
(svn r9672) -Cleanup: lots of coding style fixes around operands.
Diffstat (limited to 'src/viewport.cpp')
-rw-r--r--src/viewport.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/viewport.cpp b/src/viewport.cpp
index f536d09e8..52d189e7d 100644
--- a/src/viewport.cpp
+++ b/src/viewport.cpp
@@ -2050,7 +2050,7 @@ static bool SwapDirection(HighLightStyle style, TileIndex start_tile, TileIndex
* To correctly get the height difference we need the direction we are dragging
* in, as well as with what kind of tool we are dragging. For example a horizontal
* autorail tool that starts in bottom and ends at the top of a tile will need the
-* maximum of SW,S and SE,N corners respectively. This is handled by the lookup table below
+* maximum of SW, S and SE, N corners respectively. This is handled by the lookup table below
* See _tileoffs_by_dir in map.c for the direction enums if you can't figure out
* the values yourself.
* @param style HightlightStyle of drag. This includes direction and style (autorail, rect, etc.)
@@ -2395,7 +2395,7 @@ bool VpHandlePlaceSizingDrag()
e.we.place.userdata = _thd.userdata;
/* stop drag mode if the window has been closed */
- w = FindWindowById(_thd.window_class,_thd.window_number);
+ w = FindWindowById(_thd.window_class, _thd.window_number);
if (w == NULL) {
ResetObjectToPlace();
return false;