aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui/dialog.cpp2
-rw-r--r--gui/widget.h4
-rw-r--r--script_v1.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/gui/dialog.cpp b/gui/dialog.cpp
index ddeb45dc2b..03b19b5062 100644
--- a/gui/dialog.cpp
+++ b/gui/dialog.cpp
@@ -84,7 +84,7 @@ void Dialog::handleMouseDown(int x, int y, int button)
// Tell the new focused widget (if any) that it just gained the focus.
if (w)
- w->recievedFocus();
+ w->receivedFocus();
_focusedWidget = w;
}
diff --git a/gui/widget.h b/gui/widget.h
index e29936dd49..a02fc71cb5 100644
--- a/gui/widget.h
+++ b/gui/widget.h
@@ -99,7 +99,7 @@ public:
virtual void handleKeyUp(char key, int modifiers) {}
virtual void handleTickle() {}
void draw();
- void recievedFocus() { _hasFocus = true; recievedFocusWidget(); }
+ void receivedFocus() { _hasFocus = true; receivedFocusWidget(); }
void lostFocus() { _hasFocus = false; lostFocusWidget(); }
void setFlags(int flags) { _flags |= flags; }
@@ -109,7 +109,7 @@ public:
protected:
virtual void drawWidget(bool hilite) {}
- virtual void recievedFocusWidget() {}
+ virtual void receivedFocusWidget() {}
virtual void lostFocusWidget() {}
};
diff --git a/script_v1.cpp b/script_v1.cpp
index ea3b0eaf2b..03a21e591c 100644
--- a/script_v1.cpp
+++ b/script_v1.cpp
@@ -2770,7 +2770,7 @@ void Scumm::o5_pickupObjectOld()
// FIXME: Zak256 (Zaire): Why does this happen at all?
if (obj < 1) {
- warning("pickupObjectOld recieved negative index");
+ warning("pickupObjectOld received negative index");
return;
}