about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--dwm.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/dwm.c b/dwm.c
index 009118d..02c30d4 100644
--- a/dwm.c
+++ b/dwm.c
@@ -504,7 +504,7 @@ void
 detachstack(Client *c) {
 	Client **tc;
 
-	for(tc=&stack; *tc && *tc != c; tc=&(*tc)->snext);
+	for(tc = &stack; *tc && *tc != c; tc = &(*tc)->snext);
 	*tc = c->snext;
 }
 
@@ -1162,8 +1162,7 @@ resize(Client *c, int x, int y, int w, int h, Bool sizehints) {
 
 		/* adjust for aspect limits */
 		if(c->minax != c->maxax && c->minay != c->maxay 
-		&& c->minax > 0 && c->maxax > 0 && c->minay > 0 && c->maxay > 0)
-		{
+		&& c->minax > 0 && c->maxax > 0 && c->minay > 0 && c->maxay > 0) {
 			if(w * c->maxay > h * c->maxax)
 				w = h * c->maxax / c->maxay;
 			else if(w * c->minay < h * c->minax)
@@ -1532,7 +1531,7 @@ tag(const char *arg) {
 	if(!sel)
 		return;
 	for(i = 0; i < LENGTH(tags); i++)
-		sel->tags[i] = (NULL == arg);
+		sel->tags[i] = (arg == NULL);
 	sel->tags[idxoftag(arg)] = True;
 	arrange();
 }
ject "lynx", label v2-8-8dev_11' href='/ingrix/lynx-snapshots/commit/lynx_help/keystrokes/bookmark_help.html?id=bc0fa578036583231edb567b328b4f69ce6860fe'>bc0fa578 ^
7c7d8c95 ^


bc0fa578 ^

7c7d8c95 ^


bc0fa578 ^
7c7d8c95 ^
bc0fa578 ^
















7c7d8c95 ^





bc0fa578 ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47