diff options
author | frosch <frosch@openttd.org> | 2011-02-24 21:48:06 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-02-24 21:48:06 +0000 |
commit | f34e9ff0748ef4c5ccadfc3b672501a929850445 (patch) | |
tree | 7f8e83e50d413a7e77a95ed44b555e44616359a1 /src/train_cmd.cpp | |
parent | 6621a8fb2135eadd2cb9306e2368abd36eea3982 (diff) | |
download | openttd-f34e9ff0748ef4c5ccadfc3b672501a929850445.tar.xz |
(svn r22140) -Fix (r22135): I like the letter 'l' nevertheless. (Alberth)
Diffstat (limited to 'src/train_cmd.cpp')
-rw-r--r-- | src/train_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp index e8beb46a6..e234c9d28 100644 --- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -264,7 +264,7 @@ void Train::ConsistChanged(bool same_length) if (this->IsFrontEngine()) { this->UpdateAcceleration(); SetWindowDirty(WC_VEHICLE_DETAILS, this->index); - InvalidateWindowData(WC_VEHICLE_REFIT, this->index); // Important, do not invalidate immediatelly. The refit window tests commands. + InvalidateWindowData(WC_VEHICLE_REFIT, this->index); // Important, do not invalidate immediately. The refit window tests commands. } } @@ -1089,7 +1089,7 @@ static void NormaliseTrainHead(Train *head) if (!head->IsFrontEngine()) return; /* Update the refit button and window */ - InvalidateWindowData(WC_VEHICLE_REFIT, head->index); // Important, do not invalidate immediatelly. The refit window tests commands. + InvalidateWindowData(WC_VEHICLE_REFIT, head->index); // Important, do not invalidate immediately. The refit window tests commands. SetWindowWidgetDirty(WC_VEHICLE_VIEW, head->index, VVW_WIDGET_REFIT_VEH); /* If we don't have a unit number yet, set one. */ |