(svn r18980) -Codechange: preceeding -> preceding (spelling)

This commit is contained in:
rubidium 2010-02-01 12:43:28 +00:00
parent bace545c37
commit ebc4438950
2 changed files with 4 additions and 4 deletions

View File

@ -776,9 +776,9 @@ public:
if (from == to) break; // no need to change anything if (from == to) break; // no need to change anything
if (from != this->selected_order) { if (from != this->selected_order) {
/* Moving from preceeding order? */ /* Moving from preceding order? */
this->selected_order -= (int)(from <= this->selected_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); this->selected_order += (int)(to <= this->selected_order);
break; break;
} }

View File

@ -277,9 +277,9 @@ struct TimetableWindow : Window {
bool travel = HasBit(this->sel_index, 0); bool travel = HasBit(this->sel_index, 0);
if (from != selected_order) { if (from != selected_order) {
/* Moving from preceeding order? */ /* Moving from preceding order? */
selected_order -= (int)(from <= selected_order); selected_order -= (int)(from <= selected_order);
/* Moving to preceeding order? */ /* Moving to preceding order? */
selected_order += (int)(to <= selected_order); selected_order += (int)(to <= selected_order);
} else { } else {
/* Now we are modifying the selected order */ /* Now we are modifying the selected order */