mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-21 19:55:20 -05:00
Fix minor flaws in reporting bad messages by jt65code and jt9code.
This commit is contained in:
parent
a8ad1569cc
commit
81af6f1ed3
@ -82,10 +82,12 @@ program JT65code
|
||||
call fmtmsg(decoded,iz)
|
||||
|
||||
10 bad=" "
|
||||
if(decoded.ne.msgchk) bad="*"
|
||||
expected = 'EXACT'
|
||||
if (msg0.ne.msgchk) expected = 'TRUNCATED'
|
||||
if (nmsg.eq.1) expected = 'UNKNOWN'
|
||||
if(decoded.ne.msg0) then
|
||||
bad="*"
|
||||
if(decoded(1:13).eq.msg0(1:13) .and. &
|
||||
decoded(14:22).eq. ' ') expected = 'TRUNCATED'
|
||||
endif
|
||||
write(*,1020) imsg,msg0,decoded,bad,itype,msgtype,expected
|
||||
1020 format(i2,'.',1x,a22,1x,a22,1x,a1,i3,":",a10,2x,a22)
|
||||
enddo
|
||||
|
@ -71,9 +71,11 @@ program jt9code
|
||||
|
||||
10 bad=" "
|
||||
expected = 'EXACT'
|
||||
if (msg0.ne.msgchk) expected = 'TRUNCATED'
|
||||
if (nmsg.eq.1) expected = 'UNKNOWN'
|
||||
if(decoded.ne.msgchk) bad="*"
|
||||
if(decoded.ne.msg0) then
|
||||
bad="*"
|
||||
if(decoded(1:13).eq.msg0(1:13) .and. &
|
||||
decoded(14:22).eq. ' ') expected = 'TRUNCATED'
|
||||
endif
|
||||
write(*,1020) imsg,msg0,decoded,bad,itype,msgtype,expected
|
||||
1020 format(i2,'.',1x,a22,1x,a22,1x,a1,i3,":",a10,2x,a22)
|
||||
enddo
|
||||
|
@ -16,7 +16,7 @@
|
||||
"KA1ABC WB9XYZ RRR", &
|
||||
"KA1ABC WB9XYZ 73", &
|
||||
"KA1ABC WB9XYZ", &
|
||||
"CQ 000 WB9XYZ EN34", &
|
||||
"CQ 010 WB9XYZ EN34", &
|
||||
"CQ 999 WB9XYZ EN34", &
|
||||
"CQ EU WB9XYZ EN34", &
|
||||
"CQ WY WB9XYZ EN34", &
|
||||
|
Loading…
Reference in New Issue
Block a user