summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-02-01 12:43:28 +0000
committerrubidium <rubidium@openttd.org>2010-02-01 12:43:28 +0000
commit06e80d0a1f0d6476e9ec167ec3d5781e2075b2fa (patch)
treed881250092c5d9614c1987769fb2b4f15381ff31
parent108b86282f25654bf874b3a9c4b2df5f54b4cd46 (diff)
downloadopenttd-06e80d0a1f0d6476e9ec167ec3d5781e2075b2fa.tar.xz
(svn r18980) -Codechange: preceeding -> preceding (spelling)
-rw-r--r--src/order_gui.cpp4
-rw-r--r--src/timetable_gui.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/order_gui.cpp b/src/order_gui.cpp
index cac20acd9..20a881cf3 100644
--- a/src/order_gui.cpp
+++ b/src/order_gui.cpp
@@ -776,9 +776,9 @@ public:
if (from == to) break; // no need to change anything
if (from != this->selected_order) {
- /* Moving from preceeding order? */
+ /* Moving from preceding order? */
this->selected_order -= (int)(from <= this->selected_order);
- /* Moving to preceeding order? */
+ /* Moving to preceding order? */
this->selected_order += (int)(to <= this->selected_order);
break;
}
diff --git a/src/timetable_gui.cpp b/src/timetable_gui.cpp
index f84982d87..6d6100d0e 100644
--- a/src/timetable_gui.cpp
+++ b/src/timetable_gui.cpp
@@ -277,9 +277,9 @@ struct TimetableWindow : Window {
bool travel = HasBit(this->sel_index, 0);
if (from != selected_order) {
- /* Moving from preceeding order? */
+ /* Moving from preceding order? */
selected_order -= (int)(from <= selected_order);
- /* Moving to preceeding order? */
+ /* Moving to preceding order? */
selected_order += (int)(to <= selected_order);
} else {
/* Now we are modifying the selected order */