X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;ds=sidebyside;f=src%2Fwindows.c;h=34e47695891c4126550dc4ec8d917db5bc5b9659;hb=4ff506bdbf32df68e94b88974ee46731fe87a268;hp=ca1c5d3af2e62e920500d8d8c9ec752cf7aaad92;hpb=a539f3ee61714f59e3164ec0e87c237c965615c3;p=plomrogue diff --git a/src/windows.c b/src/windows.c index ca1c5d3..34e4769 100644 --- a/src/windows.c +++ b/src/windows.c @@ -546,7 +546,7 @@ extern void cycle_active_win(struct WinMeta * wmeta, char dir) extern uint8_t shift_active_win(struct WinMeta * wmeta, char dir) { - if ( 0 == wmeta->active /* No shifting with <2 */ + if ( 0 == wmeta->active /* No shifting with < 2 */ || wmeta->_chain_start == wmeta->_chain_end /* windows visible or */ || (dir != 'f' && dir != 'b')) /* wrong direction char. */ {