author | rubidium |
Sun, 18 Nov 2007 16:41:25 +0000 | |
changeset 7910 | 7f972c46af7a |
parent 7909 | 19cec50eb148 |
child 7911 | 48610042ac18 |
src/group_gui.cpp | file | annotate | diff | comparison | revisions |
--- a/src/group_gui.cpp Sun Nov 18 15:06:01 2007 +0000 +++ b/src/group_gui.cpp Sun Nov 18 16:41:25 2007 +0000 @@ -40,7 +40,7 @@ const Group *g; uint n = 0; - if (!(gl->l.flags & VL_REBUILD)) return; + if (!(gl->l.flags & VL_REBUILD) || GetGroupArraySize() == 0) return; list = MallocT<const Group*>(GetGroupArraySize()); if (list == NULL) {