summaryrefslogtreecommitdiff
path: root/src/window.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-02-24 21:48:06 +0000
committerfrosch <frosch@openttd.org>2011-02-24 21:48:06 +0000
commitf34e9ff0748ef4c5ccadfc3b672501a929850445 (patch)
tree7f8e83e50d413a7e77a95ed44b555e44616359a1 /src/window.cpp
parent6621a8fb2135eadd2cb9306e2368abd36eea3982 (diff)
downloadopenttd-f34e9ff0748ef4c5ccadfc3b672501a929850445.tar.xz
(svn r22140) -Fix (r22135): I like the letter 'l' nevertheless. (Alberth)
Diffstat (limited to 'src/window.cpp')
-rw-r--r--src/window.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/window.cpp b/src/window.cpp
index ac4c76b3b..57c753c52 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -2477,19 +2477,19 @@ void SetWindowClassesDirty(WindowClass cls)
/**
* Mark window data of the window of a given class and specific window number as invalid (in need of re-computing)
- * Note that by default the invalidation is not executed immediatelly but is scheduled till the next redraw.
+ * Note that by default the invalidation is not executed immediately but is scheduled till the next redraw.
* The asynchronous execution is important to prevent GUI code being executed from command scope.
* @param cls Window class
* @param number Window number within the class
* @param data The data to invalidate with
- * @param immediatelly If true then do not schedule the event, but execute immediatelly.
+ * @param immediately If true then do not schedule the event, but execute immediately.
*/
-void InvalidateWindowData(WindowClass cls, WindowNumber number, int data, bool immediatelly)
+void InvalidateWindowData(WindowClass cls, WindowNumber number, int data, bool immediately)
{
Window *w;
FOR_ALL_WINDOWS_FROM_BACK(w) {
if (w->window_class == cls && w->window_number == number) {
- if (immediatelly) {
+ if (immediately) {
w->InvalidateData(data);
} else {
w->ScheduleInvalidateData(data);
@@ -2500,19 +2500,19 @@ void InvalidateWindowData(WindowClass cls, WindowNumber number, int data, bool i
/**
* Mark window data of all windows of a given class as invalid (in need of re-computing)
- * Note that by default the invalidation is not executed immediatelly but is scheduled till the next redraw.
+ * Note that by default the invalidation is not executed immediately but is scheduled till the next redraw.
* The asynchronous execution is important to prevent GUI code being executed from command scope.
* @param cls Window class
* @param data The data to invalidate with
- * @param immediatelly If true then do not schedule the event, but execute immediatelly.
+ * @param immediately If true then do not schedule the event, but execute immediately.
*/
-void InvalidateWindowClassesData(WindowClass cls, int data, bool immediatelly)
+void InvalidateWindowClassesData(WindowClass cls, int data, bool immediately)
{
Window *w;
FOR_ALL_WINDOWS_FROM_BACK(w) {
if (w->window_class == cls) {
- if (immediatelly) {
+ if (immediately) {
w->InvalidateData(data);
} else {
w->ScheduleInvalidateData(data);