Diff of /branches/edit_controllers/rosegarden/src/gui/editors/matrix/MatrixScene.cpp [r12984] .. [r12985] Maximize Restore

  Switch to side-by-side view

--- a/branches/edit_controllers/rosegarden/src/gui/editors/matrix/MatrixScene.cpp
+++ b/branches/edit_controllers/rosegarden/src/gui/editors/matrix/MatrixScene.cpp
@@ -739,7 +739,7 @@
     Segment::iterator it = segment->begin();
     EventSelection *selection = new EventSelection(*segment);
 
-    for (; segment->isBeforeEndMarker(it); it++) {
+    for (; segment->isBeforeEndMarker(it); ++it) {
         if ((*it)->isa(Note::EventType)) {
             selection->addEvent(*it);
         }