If the day of the month is in the range 1-9, report it in __DATE__ with a leading space character rather than a leading 0.
This is what is required by the C standards.
This commit is contained in:
parent
1994e7e353
commit
4f736079f0
|
@ -619,6 +619,11 @@ yeardone clc
|
||||||
lda 1,S set the day
|
lda 1,S set the day
|
||||||
inc A
|
inc A
|
||||||
jsr convert
|
jsr convert
|
||||||
|
short M
|
||||||
|
cmp #'0'
|
||||||
|
bne dateOK
|
||||||
|
lda #' '
|
||||||
|
dateOK long M
|
||||||
sta date+6
|
sta date+6
|
||||||
pla set the month
|
pla set the month
|
||||||
xba
|
xba
|
||||||
|
|
Loading…
Reference in New Issue