diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2005-10-14 10:05:58 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2005-10-14 10:05:58 +0000 |
commit | 7f44731a81d306207aa7dee128a42d3385bb094e (patch) | |
tree | 298ac73a226ad3cd464bba42feafc33183a4eb92 /astro/mymoon/files/patch-grapher.h | |
parent | Welcome Andrew Pogrebennyk as new maintainer (diff) |
Fix build of astro/mymoon
Notes
Notes:
svn path=/head/; revision=145355
Diffstat (limited to 'astro/mymoon/files/patch-grapher.h')
-rw-r--r-- | astro/mymoon/files/patch-grapher.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/astro/mymoon/files/patch-grapher.h b/astro/mymoon/files/patch-grapher.h new file mode 100644 index 000000000000..0d84ed14adad --- /dev/null +++ b/astro/mymoon/files/patch-grapher.h @@ -0,0 +1,26 @@ +--- grapher.h.orig Fri Oct 14 19:54:56 2005 ++++ grapher.h Fri Oct 14 19:55:14 2005 +@@ -13,15 +13,14 @@ + for (z=0;z<=progress;z++) {arrow[z]=bar;}for (k=z;k<=max/4;k++) {arrow[k]=empty;} + + mvprintw(row/4,0, +-" +- Moon's situation at: %d/%d/%d %d:%d:%d +- Age: +- %d days +- Rise: %d/%d/%d %d:%d:%d +- Set: %d/%d/%d %d:%d:%d +- Illuminated: %.4f%% +- Moon->Earth distance: %.3f Km +- Distance meter: %s (%d%%) +-", ++ "Moon's situation at: %d/%d/%d %d:%d:%d\n" ++ "Age: +- %d days\n" ++ "Rise: %d/%d/%d %d:%d:%d\n" ++ "Set: %d/%d/%d %d:%d:%d\n" ++ "Illuminated: %.4f%% \n" ++ "Moon->Earth distance: %.3f Km\n" ++ "Distance meter: %s (%d%%)\n" ++, + date3.days,date3.months,date3.years,date3.hours,date3.minutes,(int)date3.seconds,(int)age, + date1.days,date1.months,date1.years,date1.hours,date1.minutes,(int)date1.seconds, + date2.days,date2.months,date2.years,date2.hours,date2.minutes,(int)date2.seconds,light,distance,arrow,progress*4); |