summaryrefslogtreecommitdiff
path: root/src/window.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/window.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/window.cpp')
-rw-r--r--src/window.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/window.cpp b/src/window.cpp
index c50c02253..f818471bd 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -2475,7 +2475,7 @@ static void HandleKeyScrolling()
{
/*
* Check that any of the dirkeys is pressed and that the focused window
- * dont has an edit-box as focused widget.
+ * doesn't have an edit-box as focused widget.
*/
if (_dirkeys && !EditBoxInGlobalFocus()) {
int factor = _shift_pressed ? 50 : 10;
@@ -2806,7 +2806,7 @@ void SetWindowClassesDirty(WindowClass cls)
/**
* Mark this window's data as invalid (in need of re-computing)
* @param data The data to invalidate with
- * @param gui_scope Whether the funtion is called from GUI scope.
+ * @param gui_scope Whether the function is called from GUI scope.
*/
void Window::InvalidateData(int data, bool gui_scope)
{
@@ -3071,7 +3071,7 @@ int PositionNewsMessage(Window *w)
/**
* (Re)position network chat window at the screen.
* @param w Window structure of the network chat window, may also be \c NULL.
- * @return X coordinate of left edge of the repositioned network chat winodw.
+ * @return X coordinate of left edge of the repositioned network chat window.
*/
int PositionNetworkChatWindow(Window *w)
{