From: Christian Heller Date: Sat, 24 Aug 2013 00:08:58 +0000 (+0200) Subject: Corrected comment in shift_active_win(). X-Git-Tag: tce~1068 X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/static/%7B%7Bprefix%7D%7D/copy_structured?a=commitdiff_plain;h=f89a93a290b7b6bddb442709b58e4fdb10a3e378;p=plomrogue Corrected comment in shift_active_win(). --- diff --git a/src/windows.c b/src/windows.c index 8af2ba2..2c29a1d 100644 --- a/src/windows.c +++ b/src/windows.c @@ -447,9 +447,9 @@ 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 less */ - && wmeta->chain_start != wmeta->chain_end /* than one window visible. */ - && (dir == 'f' || dir == 'b')) + if (0 != wmeta->active /* No shifting with less */ + && wmeta->chain_start != wmeta->chain_end /* than 2 windows visible. */ + && (dir == 'f' || dir == 'b')) /* and wrong dir char. */ { struct Win * w_shift = wmeta->active, * w_p, * w_p_next;