summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-13 17:40:21 +0000
committerrubidium <rubidium@openttd.org>2009-11-13 17:40:21 +0000
commitc77c24cb7ae37cb8b870c0a9336f40664b17ea56 (patch)
tree928ce0ae0408c18f9fcd0942f45ee5ba3ca3ad38
parent8d95e16ff1de0ccd84c8c853962a633079091fe8 (diff)
downloadopenttd-c77c24cb7ae37cb8b870c0a9336f40664b17ea56.tar.xz
(svn r18058) -Fix: typos in parameter names
-rw-r--r--src/bridge_map.cpp4
-rw-r--r--src/screenshot.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/bridge_map.cpp b/src/bridge_map.cpp
index 80f0f6f18..9fb4cf413 100644
--- a/src/bridge_map.cpp
+++ b/src/bridge_map.cpp
@@ -16,8 +16,8 @@
/**
* Finds the end of a bridge in the specified direction starting at a middle tile
- * @param t the bridge tile to find the bridge ramp for
- * @param d the direction to search in
+ * @param tile the bridge tile to find the bridge ramp for
+ * @param dir the direction to search in
*/
static TileIndex GetBridgeEnd(TileIndex tile, DiagDirection dir)
{
diff --git a/src/screenshot.cpp b/src/screenshot.cpp
index 5d93f622c..6c4020413 100644
--- a/src/screenshot.cpp
+++ b/src/screenshot.cpp
@@ -88,7 +88,7 @@ assert_compile(sizeof(RgbTriplet) == 3);
* @param w width in pixels
* @param h height in pixels
* @param pixelformat bits per pixel
- * @param paletter colour paletter (for 8bpp mode)
+ * @param palette colour palette (for 8bpp mode)
* @return was everything ok?
*/
static bool MakeBmpImage(char *name, ScreenshotCallback *callb, void *userdata, uint w, uint h, int pixelformat, const Colour *palette)