mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-16 00:51:56 -05:00
Fix for possible out-of-bounds nutc.
This commit is contained in:
parent
3fac763123
commit
3f5705ac74
@ -87,7 +87,7 @@ contains
|
|||||||
|
|
||||||
! Determine the T/R sequence: iseq=0 (even), or iseq=1 (odd)
|
! Determine the T/R sequence: iseq=0 (even), or iseq=1 (odd)
|
||||||
n=nutc
|
n=nutc
|
||||||
if(ntrperiod.ge.60) n=100*n
|
if(ntrperiod.ge.60 .and. nutc.le.2359) n=100*n
|
||||||
write(cutc,'(i6.6)') n
|
write(cutc,'(i6.6)') n
|
||||||
read(cutc,'(3i2)') ih,im,is
|
read(cutc,'(3i2)') ih,im,is
|
||||||
nsec=3600*ih + 60*im + is
|
nsec=3600*ih + 60*im + is
|
||||||
|
Loading…
Reference in New Issue
Block a user