From e8792d95a12c85f9e660e192cd2c6260a01a3c5e Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Thu, 16 Aug 2007 08:05:30 +0200 Subject: applied Jukka's patch --- tile.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tile.c b/tile.c index e1c68f8..386832d 100644 --- a/tile.c +++ b/tile.c @@ -16,7 +16,9 @@ addtomwfact(const char *arg) { return; /* arg handling, manipulate mwfact */ - if(arg && (1 == sscanf(arg, "%lf", &delta))) { + if(arg == NULL) + mwfact = MWFACT; + else if(1 == sscanf(arg, "%lf", &delta)) { if(delta + mwfact > 0.1 && delta + mwfact < 0.9) mwfact += delta; } -- cgit 1.4.1-2-gfad0 value='fe5acb939a5764901b4fa46e1822eb5958752a1a'/> Unnamed repository; edit this file 'description' to name the repository.
about summary refs log tree commit diff stats
path: root/README
blob: b4fde501384219f90bccb506287dbf4dfb7b8d68 (plain) (blame)
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