about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-04-03 14:39:19 +0100
committerAnselm R Garbe <garbeam@gmail.com>2008-04-03 14:39:19 +0100
commit0e21794e02069ae71a1e70f8d0c2c22c4d1050bc (patch)
tree66dd3616896188fe69754da7b818fbf39b9af37d
parentd477fb69270cb1cce9a065d51e959206a28ba0f9 (diff)
downloaddwm-0e21794e02069ae71a1e70f8d0c2c22c4d1050bc.tar.gz
yet another cleanup 4.9
-rw-r--r--dwm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dwm.c b/dwm.c
index 91b0149..9acf30d 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1191,9 +1191,9 @@ resize(Client *c, int x, int y, int w, int h, Bool sizehints) {
 		if(c->minax != c->maxax && c->minay != c->maxay 
 		&& c->minax > 0 && c->maxax > 0 && c->minay > 0 && c->maxay > 0)
 		{
-			if (w * c->maxay > h * c->maxax)
+			if(w * c->maxay > h * c->maxax)
 				w = h * c->maxax / c->maxay;
-			else if (w * c->minay < h * c->minax)
+			else if(w * c->minay < h * c->minax)
 				h = w * c->minay / c->minax;
 		}
 
mmit/Makefile?h=5.8.2&id=dbf7e03996032a6def3b8e97468b78d6da9e8c88'>dbf7e03 ^
1076f2b



5d3fd37 ^

a2d56f6 ^
99b126d ^

1076f2b
650a1fb ^
1076f2b
8b59083 ^
82064af ^
1076f2b

4d55eee ^
db876f9 ^
dbf7e03 ^

4d55eee ^






dbf7e03 ^

4d55eee ^
dbf7e03 ^
4d55eee ^


dbf7e03 ^
4d55eee ^

dbf7e03 ^

4d55eee ^



dc5c070 ^

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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62