mirror of https://github.com/OpenTTD/OpenTTD
Codefix: style
parent
7a7e9ef8e2
commit
2cdd797f94
|
@ -445,7 +445,7 @@ protected:
|
||||||
x = rtl ? r.right : r.left;
|
x = rtl ? r.right : r.left;
|
||||||
y = r.bottom + ScaleGUITrad(2);
|
y = r.bottom + ScaleGUITrad(2);
|
||||||
|
|
||||||
// if there are not enough datapoints to fill the graph, align to the right
|
/* if there are not enough datapoints to fill the graph, align to the right */
|
||||||
x += (this->num_vert_lines - this->num_on_x_axis) * x_sep;
|
x += (this->num_vert_lines - this->num_on_x_axis) * x_sep;
|
||||||
|
|
||||||
/* Draw x-axis labels and markings for graphs based on financial quarters and years. */
|
/* Draw x-axis labels and markings for graphs based on financial quarters and years. */
|
||||||
|
@ -513,7 +513,7 @@ protected:
|
||||||
x = r.left + (x_sep / 2);
|
x = r.left + (x_sep / 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
// if there are not enough datapoints to fill the graph, align to the right
|
/* if there are not enough datapoints to fill the graph, align to the right */
|
||||||
x += (this->num_vert_lines - this->num_on_x_axis) * x_sep;
|
x += (this->num_vert_lines - this->num_on_x_axis) * x_sep;
|
||||||
|
|
||||||
uint prev_x = INVALID_DATAPOINT_POS;
|
uint prev_x = INVALID_DATAPOINT_POS;
|
||||||
|
|
Loading…
Reference in New Issue