diff options
author | TechGeekNZ <git@tech.geek.nz> | 2020-06-09 10:18:23 +1200 |
---|---|---|
committer | Charles Pigott <charlespigott@googlemail.com> | 2020-06-09 13:15:47 +0100 |
commit | ee570e1b6dbd3b8e0f55f31f05c774e57c9a1e8f (patch) | |
tree | 38a4a163b7bd2b96144e24905476089503550a92 /src | |
parent | 8652a4db76c978598918bfdb600a3453d794930a (diff) | |
download | openttd-ee570e1b6dbd3b8e0f55f31f05c774e57c9a1e8f.tar.xz |
Cleanup: Fix typos in code comments.
Diffstat (limited to 'src')
-rw-r--r-- | src/window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.cpp b/src/window.cpp index e7bc6d2c4..9fea6d102 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) WidgetType widget_type = (nw != nullptr) ? nw->type : WWT_EMPTY; bool focused_widget_changed = false; - /* If clicked on a window that previously did dot have focus */ + /* If clicked on a window that previously did not have focus */ if (_focused_window != w && // We already have focus, right? (w->window_desc->flags & WDF_NO_FOCUS) == 0 && // Don't lose focus to toolbars widget_type != WWT_CLOSEBOX) { // Don't change focused window if 'X' (close button) was clicked |