projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0384fae
)
small boundary check fix
author
Anselm R. Garbe
<arg@10kloc.org>
Thu, 5 Oct 2006 16:23:28 +0000
(18:23 +0200)
committer
Anselm R. Garbe
<arg@10kloc.org>
Thu, 5 Oct 2006 16:23:28 +0000
(18:23 +0200)
view.c
patch
|
blob
|
history
diff --git
a/view.c
b/view.c
index 1ca10275f6d004b51ce9fe2970b87f9b9ecd100a..70b0253ce00608bc5a42ff86d8b0bd50150d15c2 100644
(file)
--- a/
view.c
+++ b/
view.c
@@
-248,12
+248,12
@@
resizecol(Arg *arg) {
return;
if(sel == getnext(clients)) {
- if(master + arg->i > 95
|| master + arg->i < 5
)
+ if(master + arg->i > 95
0 || master + arg->i < 50
)
return;
master += arg->i;
}
else {
- if(master - arg->i > 95
|| master - arg->i < 5
)
+ if(master - arg->i > 95
0 || master - arg->i < 50
)
return;
master -= arg->i;
}