applied emg's cal fix - 9base - revived minimalist port of Plan 9 userland to Unix
(HTM) git clone git://git.suckless.org/9base
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit c5aeaf9ec5e393061e87fe5d41d002ef5d4428e9
(DIR) parent 4fe8994317557febe21758a92fe26edbce6d517d
(HTM) Author: Anselm R Garbe <garbeam@gmail.com>
Date: Sat, 27 Jun 2015 21:53:02 +0200
applied emg's cal fix
Diffstat:
M cal/cal.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/cal/cal.c b/cal/cal.c
@@ -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)
@@ -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++)