X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;ds=sidebyside;f=windows.c;h=98c8cf8b46da0bbdd73c4b9659a4c27dbfe48c3a;hb=bf4af82bde0a08823b001e731629391904f93281;hp=485be316bdb9b52ab8c37df704f1d6e9d5356ede;hpb=9f63b159e74d698cd1330512827d69f09352aa1b;p=plomrogue
diff --git a/windows.c b/windows.c
index 485be31..98c8cf8 100644
--- a/windows.c
+++ b/windows.c
@@ -263,8 +263,7 @@ extern void shift_active_win (struct WinMeta * wmeta, char dir) {
if (0 != wmeta->active && wmeta->chain_start != wmeta->chain_end && (dir == 'f' || dir == 'b')) {
struct Win * w_shift = wmeta->active, * w_p, * w_p_next;
char wrap = 0;
- if ((dir == 'f' && w_shift == wmeta->chain_end)
- || (dir == 'b' && w_shift == wmeta->chain_start))
+ if ((dir == 'f' && w_shift == wmeta->chain_end) || (dir == 'b' && w_shift == wmeta->chain_start))
wrap = 1;
uint16_t i, i_max;
for (i_max = 1, w_p = wmeta->chain_start; w_p != wmeta->chain_end; i_max++)