diff options
Diffstat (limited to 'src/group_gui.cpp')
-rw-r--r-- | src/group_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/group_gui.cpp b/src/group_gui.cpp index 7d5cd0d83..1c321c4b3 100644 --- a/src/group_gui.cpp +++ b/src/group_gui.cpp @@ -392,7 +392,7 @@ public: case GRP_WIDGET_LIST_GROUP: { int y1 = r.top + WD_FRAMERECT_TOP + 1; int max = min(this->vscroll2.GetPosition() + this->vscroll2.GetCapacity(), this->groups.Length()); - for (int i = this->vscroll2.GetPosition() ; i < max ; ++i) { + for (int i = this->vscroll2.GetPosition(); i < max; ++i) { const Group *g = this->groups[i]; assert(g->owner == this->owner); |