mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-12-24 11:40:31 -05:00
a65ebafd48
only when 73 is sent. Revert to that well-established behavior. 2. Correct the logic that detects short-form RO, RRR, and 73 messages in JT65 VHF modes and color-highlights the Tx message box. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7442 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
32 lines
687 B
Fortran
32 lines
687 B
Fortran
subroutine chkmsg(message,cok,nspecial,flip)
|
|
|
|
character message*22,cok*3
|
|
|
|
nspecial=0
|
|
flip=1.0
|
|
cok=" "
|
|
|
|
do i=22,1,-1
|
|
if(message(i:i).ne.' ') go to 10
|
|
enddo
|
|
i=22
|
|
|
|
10 if(i.ge.11) then
|
|
if((message(i-3:i).eq.' OOO') .or. (message(20:22).eq.' OO')) then
|
|
cok='OOO'
|
|
flip=-1.0
|
|
if(message(20:22).eq.' OO') then
|
|
message=message(1:19)
|
|
else
|
|
message=message(1:i-4)
|
|
endif
|
|
endif
|
|
endif
|
|
|
|
if(message.eq.'RO ') nspecial=2
|
|
if(message.eq.'RRR ') nspecial=3
|
|
if(message.eq.'73 ') nspecial=4
|
|
|
|
return
|
|
end subroutine chkmsg
|