1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-09 23:34:20 +00:00
This commit is contained in:
jules 2007-08-13 11:34:57 +00:00
parent cc17a1882e
commit 0d35c76c12

View file

@ -278,9 +278,7 @@ private:
swapVariables (rowStart, rowEnd);
int ourRow = item->getRowNumberInTree();
int otherEnd = ourRow < rowEnd ? (ourRow < rowStart ? (rowStart - 1)
: rowStart)
: (rowEnd + 1);
int otherEnd = ourRow < rowEnd ? rowStart : rowEnd;
if (ourRow > otherEnd)
swapVariables (ourRow, otherEnd);