home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed unnecessary condition.
[plomrogue]
/
src
/
windows.c
diff --git
a/src/windows.c
b/src/windows.c
index 64251aec7e4389b90e28c260be82247573a528e0..50a48e3e5fc8afc810a0982495a7121ec103dc1f 100644
(file)
--- a/
src/windows.c
+++ b/
src/windows.c
@@
-517,7
+517,7
@@
extern void cycle_active_win(struct WinMeta * wmeta, char dir)
{
if (0 != wmeta->active)
{
{
if (0 != wmeta->active)
{
- if ('
n
' == dir)
+ if ('
f
' == dir)
{
if (wmeta->active->_next != 0)
{
{
if (wmeta->active->_next != 0)
{
@@
-547,8
+547,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 */
extern uint8_t shift_active_win(struct WinMeta * wmeta, char dir)
{
if ( 0 == wmeta->active /* No shifting with < 2 */
- || wmeta->_chain_start == wmeta->_chain_end /* windows visible or */
- || (dir != 'f' && dir != 'b')) /* wrong direction char. */
+ || wmeta->_chain_start == wmeta->_chain_end) /* windows visible. */
{
return 0;
}
{
return 0;
}