summaryrefslogtreecommitdiff
path: root/src/blitter
diff options
context:
space:
mode:
authorplanetmaker <planetmaker@openttd.org>2013-01-08 22:46:42 +0000
committerplanetmaker <planetmaker@openttd.org>2013-01-08 22:46:42 +0000
commitc24374f99c22d9420d6d182ff835f07a5b954b48 (patch)
tree7043ad53c941668339a0949867e10888f9e54f16 /src/blitter
parent89a2ba2a6d25e605c391e7343ba66090ee9f26de (diff)
downloadopenttd-c24374f99c22d9420d6d182ff835f07a5b954b48.tar.xz
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
Diffstat (limited to 'src/blitter')
-rw-r--r--src/blitter/32bpp_base.cpp2
-rw-r--r--src/blitter/8bpp_base.cpp2
-rw-r--r--src/blitter/base.hpp2
-rw-r--r--src/blitter/null.hpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/blitter/32bpp_base.cpp b/src/blitter/32bpp_base.cpp
index cf2a78f7e..3ea03327f 100644
--- a/src/blitter/32bpp_base.cpp
+++ b/src/blitter/32bpp_base.cpp
@@ -107,7 +107,7 @@ void Blitter_32bppBase::ScrollBuffer(void *video, int &left, int &top, int &widt
dst = (uint32 *)video + left + top * _screen.pitch;
src = dst - scroll_y * _screen.pitch;
- /* Decrese height. (scroll_y is <=0). */
+ /* Decrease height. (scroll_y is <=0). */
height += scroll_y;
assert(height > 0);
diff --git a/src/blitter/8bpp_base.cpp b/src/blitter/8bpp_base.cpp
index 39960f8e9..f2ba70405 100644
--- a/src/blitter/8bpp_base.cpp
+++ b/src/blitter/8bpp_base.cpp
@@ -112,7 +112,7 @@ void Blitter_8bppBase::ScrollBuffer(void *video, int &left, int &top, int &width
dst = (uint8 *)video + left + top * _screen.pitch;
src = dst - scroll_y * _screen.pitch;
- /* Decrese height. (scroll_y is <=0). */
+ /* Decrease height. (scroll_y is <=0). */
height += scroll_y;
assert(height > 0);
diff --git a/src/blitter/base.hpp b/src/blitter/base.hpp
index 0a761a156..45aa19b7d 100644
--- a/src/blitter/base.hpp
+++ b/src/blitter/base.hpp
@@ -123,7 +123,7 @@ public:
/**
* Copy from a buffer to the screen.
- * @param video The destionation pointer (video-buffer).
+ * @param video The destination pointer (video-buffer).
* @param src The buffer from which the data will be read.
* @param width The width of the buffer.
* @param height The height of the buffer.
diff --git a/src/blitter/null.hpp b/src/blitter/null.hpp
index 584afd030..4ec5ff476 100644
--- a/src/blitter/null.hpp
+++ b/src/blitter/null.hpp
@@ -37,7 +37,7 @@ public:
/* virtual */ int GetBytesPerPixel() { return 0; }
};
-/** Factory for the blitter that doesn nothing. */
+/** Factory for the blitter that does nothing. */
class FBlitter_Null: public BlitterFactory<FBlitter_Null> {
public:
/* virtual */ const char *GetName() { return "null"; }