summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */