Issue 81 fixed

This commit is contained in:
bsongis
2012-08-14 20:00:17 +00:00
parent eda268518b
commit 78823788b4
+1 -1
View File
@@ -1431,7 +1431,7 @@ bool swapExpoMix(uint8_t expo, uint8_t &idx, uint8_t up)
}
y = (MixData *)mixaddress(tgt_idx);
if(((MixData *)x)->destCh != ((MixData *)y)->destCh) {
if(!((MixData *)y)->srcRaw || ((MixData *)x)->destCh != ((MixData *)y)->destCh) {
if (up) {
if (((MixData *)x)->destCh>0) ((MixData *)x)->destCh--;
else return false;