File: wmbio-1.01-improvements.patch

package info (click to toggle)
wmbio 1.02-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 148 kB
  • ctags: 88
  • sloc: ansic: 920; makefile: 61
file content (54 lines) | stat: -rw-r--r-- 1,780 bytes parent folder | download
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
diff -ur wmbio-1.01/src/Makefile wmbio-1.01-1/src/Makefile
--- wmbio-1.01/src/Makefile	2002-04-15 14:42:35.000000000 +0200
+++ wmbio-1.01-1/src/Makefile	2003-12-28 21:12:52.000000000 +0100
@@ -17,5 +17,5 @@
 	rm -rf wmbio core *~
 
 install:
-	/usr/bin/install -c -o 0 -g 0 -s -m 755 wmbio /usr/local/bin/wmbio
+	/usr/bin/install -c -o 0 -g 0 -s -m 755 wmbio /opt/wm/bin/wmbio
 
Only in wmbio-1.01-1/src: wmbio
diff -ur wmbio-1.01/src/wmbio.c wmbio-1.01-1/src/wmbio.c
--- wmbio-1.01/src/wmbio.c	2002-05-01 00:13:12.000000000 +0200
+++ wmbio-1.01-1/src/wmbio.c	2003-12-27 02:38:52.000000000 +0100
@@ -484,7 +484,7 @@
 						case 3: // to return in NOW modality
 								if(i!=5&&i!=6&&i!=7) {
 									modef=0;
-									copyXPMArea (65, 111, 52, 9, 5, 45);
+									copyXPMArea (65, 105, 52, 9, 5, 45);
 									copyXPMArea (102, 85, 16, 6,23, 47);
 									disegnabioritmischermouno( giornitotali);
 								}
@@ -574,7 +574,7 @@
 	
 	// it print the 0 needed
 	while( numerocifre < cifre) {
-		copyXPMArea (65, 65, 7, 9, x+(sposta*7), y);
+		copyXPMArea (65, 65, 6, 9, x+(sposta*7), y);
 		sposta++;
 		numerocifre++;
 	}
@@ -584,7 +584,7 @@
 	// draw the number
 	while( numerocifre > 0) {
 		ilnum = stringanum[numciclo]-48;
-		copyXPMArea (65+(ilnum*6), 65, 7, 9, x+(sposta*7), y);
+		copyXPMArea (65+(ilnum*6), 65, 6, 9, x+(sposta*7), y);
 		sposta++;
 		numciclo++;
 		numerocifre--;
@@ -777,8 +777,8 @@
 	
 	// draw the sign
 	for(i=0; i<3; i++) {
-		copyXPMArea (114, 77, 6, 6, 52, 13+(i*11));	 	// delete
-		copyXPMArea (100+k[i], 77, 6, 6, 52, 13+(i*11));	// draw
+		copyXPMArea (114, 77, 6, 6, 51, 13+(i*11));	 	// delete
+		copyXPMArea (100+k[i], 77, 6, 6, 51, 13+(i*11));	// draw
 	}
 	
 	
Only in wmbio-1.01-1/src: wmbio.o
Only in wmbio-1.01-1/src: wmgeneral.o