[hackers] [9base] applied emg's cal fix || Anselm R Garbe
commit c5aeaf9ec5e393061e87fe5d41d002ef5d4428e9
Author: Anselm R Garbe <garbeam_AT_gmail.com>
AuthorDate: Sat Jun 27 21:53:02 2015 +0200
Commit: Anselm R Garbe <garbeam_AT_gmail.com>
CommitDate: Sat Jun 27 21:53:02 2015 +0200
applied emg's cal fix
diff --git a/cal/cal.c b/cal/cal.c
index 3f1e075..36dd9dd 100644
--- a/cal/cal.c
+++ b/cal/cal.c
_AT_@ -84,7 +84,7 @@ xshort:
goto badarg;
if(y < 1 || y > 9999)
goto badarg;
- Bprint(&bout, " %s %u\n", smon[m-1], y);
+ Bprint(&bout, " %s %d\n", smon[m-1], y);
Bprint(&bout, "%s\n", dayw);
cal(m, y, string, 24);
for(i=0; i<6*24; i+=24)
_AT_@ -99,7 +99,7 @@ xlong:
if(y<1 || y>9999)
goto badarg;
Bprint(&bout, "\n\n\n");
- Bprint(&bout, " %u\n", y);
+ Bprint(&bout, " %d\n", y);
Bprint(&bout, "\n");
for(i=0; i<12; i+=3) {
for(j=0; j<6*72; j++)
Received on Sat Jun 27 2015 - 21:53:24 CEST
This archive was generated by hypermail 2.3.0
: Sat Jun 27 2015 - 22:00:15 CEST