diff options
-rw-r--r-- | stats/legend.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stats/legend.cpp b/stats/legend.cpp index 927e972c8..457ce42f6 100644 --- a/stats/legend.cpp +++ b/stats/legend.cpp @@ -93,7 +93,7 @@ void Legend::resize() y += fontHeight; ++displayedItems; } - x += nextX; + x = nextX; width = nextX; if (width >= size.width() / 2.0) // More than half the chart-width -> give up break; |