summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-12-31 10:08:18 +0000
committerrubidium <rubidium@openttd.org>2011-12-31 10:08:18 +0000
commit440b63da33f848f383ecdb304c6246689d0f1a67 (patch)
treeb954832b22a4289481e7c22d7984bdb4bf685c86 /src
parent4d71d3868d104e02ff6ad4fd72b73eb4af37f0d5 (diff)
downloadopenttd-440b63da33f848f383ecdb304c6246689d0f1a67.tar.xz
(svn r23690) -Fix: massive typo ;)
Diffstat (limited to 'src')
-rw-r--r--src/window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.cpp b/src/window.cpp
index 338adb856..9cb201118 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -1759,7 +1759,7 @@ void ResizeWindow(Window *w, int delta_x, int delta_y)
{
if (delta_x != 0 || delta_y != 0) {
/* Determine the new right/bottom position. If that is outside of the bounds of
- * the resolution clamp it in such a manner that it stays within the bounts. */
+ * the resolution clamp it in such a manner that it stays within the bounds. */
int new_right = w->left + w->width + delta_x;
int new_bottom = w->top + w->height + delta_y;
if (new_right >= (int)_cur_resolution.width) delta_x -= Ceil(new_right - _cur_resolution.width, max(1U, w->nested_root->resize_x));