diff options
Diffstat (limited to 'src/graph_gui.cpp')
-rw-r--r-- | src/graph_gui.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/graph_gui.cpp b/src/graph_gui.cpp index b4419d337..f95db2ec8 100644 --- a/src/graph_gui.cpp +++ b/src/graph_gui.cpp @@ -360,8 +360,7 @@ protected: GfxFillRect(r.left, y, r.right, y, GRAPH_AXIS_LINE_COLOUR); /* Find the largest value that will be drawn. */ - if (this->num_on_x_axis == 0) - return; + if (this->num_on_x_axis == 0) return; assert(this->num_on_x_axis > 0); assert(this->num_dataset > 0); |