bf57334ca0
- The maintainer is now a committer. Reviewed by: Kim Culhan <kimc@w8hd.org>
20 lines
780 B
Plaintext
20 lines
780 B
Plaintext
--- src/bin/dclock/data.c.org Sat Jul 20 04:13:49 1991
|
|
+++ src/bin/dclock/data.c Sun Jan 23 19:38:38 2000
|
|
@@ -114,6 +114,7 @@
|
|
Slant = min( max( 0,SlantPC ), 100 )/100.0;
|
|
HThick = min( max( 5,ThickPC ), 25 )/100.0;
|
|
VThick = min( max( 5,ThickPC ), 25 )/100.0 * 3.0/2.0;
|
|
+ int i;
|
|
|
|
Width = Coord( min( max( 100,Width ), 1024));
|
|
Height = Coord( min( max( 25,Height ), 865));
|
|
@@ -149,7 +150,7 @@
|
|
|
|
ColonData[0].count = Colon.count;
|
|
ColonData[1].count = Colon.count;
|
|
- for ( int i=0; i< Colon.count; i++ ) {
|
|
+ for ( i=0; i< Colon.count; i++ ) {
|
|
ColonData[0].y[i] = Colon.y[i]+(0.5-2.25*HThick)/height+ALLy;
|
|
ColonData[0].x[i] = Colon.x[i]+COLx+ColonData[0].y[i]*Slant/width;
|
|
ColonData[1].y[i] = Colon.y[i]+(0.5+0.25*HThick)/height+ALLy;
|