summaryrefslogtreecommitdiff
path: root/src/object_gui.cpp
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/object_gui.cpp
parent89a2ba2a6d25e605c391e7343ba66090ee9f26de (diff)
downloadopenttd-c24374f99c22d9420d6d182ff835f07a5b954b48.tar.xz
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
Diffstat (limited to 'src/object_gui.cpp')
-rw-r--r--src/object_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object_gui.cpp b/src/object_gui.cpp
index 9217bb62f..a5e065cbd 100644
--- a/src/object_gui.cpp
+++ b/src/object_gui.cpp
@@ -115,7 +115,7 @@ public:
}
case WID_BO_OBJECT_SPRITE: {
- bool two_wide = false; // Whether there will be two widgets next to eachother in the matrix or not.
+ bool two_wide = false; // Whether there will be two widgets next to each other in the matrix or not.
int height[2] = {0, 0}; // The height for the different views; in this case views 1/2 and 4.
/* Get the height and view information. */
@@ -190,7 +190,7 @@ public:
/* Height of the selection matrix.
* Depending on the number of views, the matrix has a 1x1, 1x2, 2x1 or 2x2 layout. To make the previews
* look nice in all layouts, we use the 4x4 layout (smallest previews) as starting point. For the bigger
- * previews in the layouts with less views we add space homogenously on all sides, so the 4x4 preview-rectangle
+ * previews in the layouts with less views we add space homogeneously on all sides, so the 4x4 preview-rectangle
* is centered in the 2x1, 1x2 resp. 1x1 buttons. */
uint matrix_height = this->GetWidget<NWidgetMatrix>(WID_BO_OBJECT_MATRIX)->current_y;