summaryrefslogtreecommitdiff
path: root/src/window.cpp
diff options
context:
space:
mode:
authornikolas <nikolas@gnu.org>2019-01-17 17:01:07 -0500
committerCharles Pigott <charlespigott@googlemail.com>2019-01-17 22:01:07 +0000
commitd8ccad91f9f3c4554908c62a9e250ac61060d1ce (patch)
tree94e5594c72a056e5debaa1eaa66d5e7a5d755c18 /src/window.cpp
parent1623cb553b7d299d0115034609763b6f3063680f (diff)
downloadopenttd-d8ccad91f9f3c4554908c62a9e250ac61060d1ce.tar.xz
Fix: Some code and comment typos
Found with codespell
Diffstat (limited to 'src/window.cpp')
-rw-r--r--src/window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.cpp b/src/window.cpp
index d67c7f2f7..cc40afd34 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -655,7 +655,7 @@ static void DispatchLeftClickEvent(Window *w, int x, int y, int click_count)
/* Clicked on a widget that is not disabled.
* So unless the clicked widget is the caption bar, change focus to this widget.
- * Exception: In the OSK we always want the editbox to stay focussed. */
+ * Exception: In the OSK we always want the editbox to stay focused. */
if (widget_type != WWT_CAPTION && w->window_class != WC_OSK) {
/* focused_widget_changed is 'now' only true if the window this widget
* is in gained focus. In that case it must remain true, also if the