summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-10-23 18:12:38 +0000
committeralberth <alberth@openttd.org>2010-10-23 18:12:38 +0000
commitaf941fc5983e8bb204183247a7b89b9049339a8d (patch)
tree179f3d4538daa1f8713627c6f4f40da243b23ee6 /src
parent9d76b6f37fa6c3537196a77a1379eb5a7c11661e (diff)
downloadopenttd-af941fc5983e8bb204183247a7b89b9049339a8d.tar.xz
(svn r21017) -Doc: Small fixes (by Krille).
Diffstat (limited to 'src')
-rw-r--r--src/viewport.cpp2
-rw-r--r--src/widget.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/viewport.cpp b/src/viewport.cpp
index 6a3715a0e..b18c4fd7d 100644
--- a/src/viewport.cpp
+++ b/src/viewport.cpp
@@ -173,7 +173,7 @@ void DeleteWindowViewport(Window *w)
* @param height Height of the viewport
* @param follow_flags Flags controlling the viewport.
* - If bit 31 is set, the lower 16 bits are the vehicle that the viewport should follow.
- * - If bit 31 is clear, it is a tile position.
+ * - If bit 31 is clear, it is a #TileIndex.
* @param zoom Zoomlevel to display
*/
void InitializeWindowViewport(Window *w, int x, int y,
diff --git a/src/widget.cpp b/src/widget.cpp
index fe0f2ce4b..df89438ca 100644
--- a/src/widget.cpp
+++ b/src/widget.cpp
@@ -1573,7 +1573,7 @@ void NWidgetViewport::Draw(const Window *w)
/**
* Initialize the viewport of the window.
* @param w Window owning the viewport.
- * @param follow_flags Type of viewport, see #InitializeViewport().
+ * @param follow_flags Type of viewport, see #InitializeWindowViewport().
* @param zoom Zoom level.
*/
void NWidgetViewport::InitializeViewport(Window *w, uint32 follow_flags, ZoomLevel zoom)