diff options
Diffstat (limited to 'gui')
-rw-r--r-- | gui/GuiManager.h | 2 | ||||
-rw-r--r-- | gui/dialog.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gui/GuiManager.h b/gui/GuiManager.h index 2591838416..2a187a92f9 100644 --- a/gui/GuiManager.h +++ b/gui/GuiManager.h @@ -122,7 +122,7 @@ protected: // position and time of last mouse click (used to detect double clicks) struct { - int16 x, y; // Position of mouse when the click occured + int16 x, y; // Position of mouse when the click occurred uint32 time; // Time int count; // How often was it already pressed? } _lastClick; diff --git a/gui/dialog.cpp b/gui/dialog.cpp index 5e3a9a1927..e20b181c83 100644 --- a/gui/dialog.cpp +++ b/gui/dialog.cpp @@ -171,7 +171,7 @@ void Dialog::handleMouseDown(int x, int y, int button, int clickCount) { if (w && !(w->getFlags() & WIDGET_IGNORE_DRAG)) _dragWidget = w; - // If the click occured inside a widget which is not the currently + // If the click occurred inside a widget which is not the currently // focused one, change the focus to that widget. if (w && w != _focusedWidget && w->wantsFocus()) { setFocusWidget(w); |