Indentation
This commit is contained in:
@@ -2441,7 +2441,7 @@ void checkSwitches()
|
|||||||
attr = ((states & 0x03) != (switches_states & 0x03)) ? INVERS : 0;
|
attr = ((states & 0x03) != (switches_states & 0x03)) ? INVERS : 0;
|
||||||
else
|
else
|
||||||
attr = (states & (1 << (i+1))) == (switches_states & (1 << (i+1))) ? 0 : INVERS;
|
attr = (states & (1 << (i+1))) == (switches_states & (1 << (i+1))) ? 0 : INVERS;
|
||||||
if(!(g_model.nSwToWarn & (1<<i)))
|
if (!(g_model.nSwToWarn & (1<<i)))
|
||||||
putsSwitches(x, 5*FH, (i>0?(i+3):(states&0x3)+1), attr);
|
putsSwitches(x, 5*FH, (i>0?(i+3):(states&0x3)+1), attr);
|
||||||
x += 3*FW+FW/2;
|
x += 3*FW+FW/2;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user