From addfd89dced4e2429050663db93ad37790f37a78 Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Fri, 19 Sep 2014 10:35:08 -0400 Subject: [PATCH] stats: Fix flow-control bug in Vector2D printing --- src/base/stats/text.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/stats/text.cc b/src/base/stats/text.cc index 7d25b94e5..2c5b004be 100644 --- a/src/base/stats/text.cc +++ b/src/base/stats/text.cc @@ -571,8 +571,8 @@ Text::visit(const Vector2dInfo &info) for (off_type i = 0; i < info.y; ++i) { if (!info.y_subnames[i].empty()) { print.subnames = info.y_subnames; + break; } - break; } } print.flags = info.flags; -- 2.30.2