summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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)