Diff of /branches/edit_controllers/rosegarden/src/gui/editors/segment/compositionview/CompositionItemHelper.cpp [r12984] .. [r12985] Maximize Restore

  Switch to side-by-side view

--- a/branches/edit_controllers/rosegarden/src/gui/editors/segment/compositionview/CompositionItemHelper.cpp
+++ b/branches/edit_controllers/rosegarden/src/gui/editors/segment/compositionview/CompositionItemHelper.cpp
@@ -129,7 +129,7 @@
     CompositionModel::itemcontainer::const_iterator it;
     Rosegarden::Segment* currentSegment = CompositionItemHelper::getSegment(referenceItem);
 
-    for (it = items.begin(); it != items.end(); it++) {
+    for (it = items.begin(); it != items.end(); ++it) {
         CompositionItem item = *it;
         Rosegarden::Segment* segment = CompositionItemHelper::getSegment(item);
         if (segment == currentSegment) {