Merge branch 'rochade'
[alioth/musescore.git] / debian / patches / experiments / valid-soundfont.diff
index dd4de52..c86d77a 100644 (file)
@@ -141,7 +141,7 @@ Forwarded: https://github.com/musescore/MuseScore/pull/7728
 +                        p->loopstart = p->loopend = p->start;
                          }
 -                  if ((p->end - p->start) < 8)
-+                  else if (p->loopstart < p->loopend) {
++                  else if (p->loopstart > p->loopend) {
 +                        unsigned int looptmp;
 +
 +                        qWarning("Sample(%s) swapping reversed loopstart<=>loopend",
@@ -233,7 +233,7 @@ Forwarded: https://github.com/musescore/MuseScore/pull/7728
 +            loopstart = loopend = start;
              }
 -      end = frames - 1;
-+      else if (loopstart < loopend) {
++      else if (loopstart > loopend) {
 +            unsigned int looptmp;
  
 -      if (loopend > end ||loopstart >= loopend || loopstart <= start) {