/[svn]/libgig/trunk/src/gig.cpp
ViewVC logotype

Diff of /libgig/trunk/src/gig.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3937 by schoenebeck, Thu Jun 17 10:59:54 2021 UTC revision 3938 by schoenebeck, Thu Jun 17 11:41:45 2021 UTC
# Line 6986  namespace { Line 6986  namespace {
6986       */       */
6987      Group* File::GetGroup(String name) {      Group* File::GetGroup(String name) {
6988          if (!pGroups) LoadGroups();          if (!pGroups) LoadGroups();
6989          GroupsIterator = pGroups->begin();          size_t i = 0;
6990          for (uint i = 0; GroupsIterator != pGroups->end(); ++GroupsIterator, ++i)          for (Group* pGroup = GetGroup(i); pGroup; pGroup = GetGroup(++i))
6991              if ((*GroupsIterator)->Name == name) return *GroupsIterator;              if (pGroup->Name == name) return pGroup;
6992          return NULL;          return NULL;
6993      }      }
6994    

Legend:
Removed from v.3937  
changed lines
  Added in v.3938

  ViewVC Help
Powered by ViewVC