/[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 3938 by schoenebeck, Thu Jun 17 11:41:45 2021 UTC revision 3939 by schoenebeck, Thu Jun 17 12:04:54 2021 UTC
# Line 6204  namespace { Line 6204  namespace {
6204       */       */
6205      void Group::MoveAll() {      void Group::MoveAll() {
6206          // get "that" other group first          // get "that" other group first
6207            size_t i = 0;
6208          Group* pOtherGroup = NULL;          Group* pOtherGroup = NULL;
6209          for (pOtherGroup = pFile->GetFirstGroup(); pOtherGroup; pOtherGroup = pFile->GetNextGroup()) {          for (pOtherGroup = pFile->GetGroup(i); pOtherGroup;
6210                 pOtherGroup = pFile->GetGroup(++i))
6211            {
6212              if (pOtherGroup != this) break;              if (pOtherGroup != this) break;
6213          }          }
6214          if (!pOtherGroup) throw Exception(          if (!pOtherGroup) throw Exception(

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

  ViewVC Help
Powered by ViewVC