diff --git a/src/order_gui.cpp b/src/order_gui.cpp --- 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 --- 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 */