home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9f63b15
)
Minor code re-styling.
author
Christian Heller
<c.heller@plomlompom.de>
Sat, 15 Jun 2013 02:04:21 +0000
(
04:04
+0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Sat, 15 Jun 2013 02:04:21 +0000
(
04:04
+0200)
windows.c
patch
|
blob
|
history
diff --git
a/windows.c
b/windows.c
index 485be316bdb9b52ab8c37df704f1d6e9d5356ede..98c8cf8b46da0bbdd73c4b9659a4c27dbfe48c3a 100644
(file)
--- 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 (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++)
wrap = 1;
uint16_t i, i_max;
for (i_max = 1, w_p = wmeta->chain_start; w_p != wmeta->chain_end; i_max++)