mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
f7bef7e8d2
on -current again.
21 lines
684 B
Plaintext
21 lines
684 B
Plaintext
--- src/bin/dclock/data.c.orig Tue Dec 28 22:25:29 1999
|
|
+++ src/bin/dclock/data.c Tue Dec 28 22:25:57 1999
|
|
@@ -109,6 +109,8 @@
|
|
}
|
|
|
|
void InitData() {
|
|
+ int i;
|
|
+
|
|
FadeStep = FadeRate==0 ? 16 : 1;
|
|
SegCode[9][SegD] = (JohnsFlag)? true : false;
|
|
Slant = min( max( 0,SlantPC ), 100 )/100.0;
|
|
@@ -149,7 +151,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;
|