mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-09 19:10:38 +00:00
(svn r18980) -Codechange: preceeding -> preceding (spelling)
This commit is contained in:
parent
bace545c37
commit
ebc4438950
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user