Guard against blank msg in fix_contest_message.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7823 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Steven Franke 2017-07-09 17:46:02 +00:00
parent 88a744cc7b
commit fffeb17ec0

View File

@ -10,6 +10,7 @@ subroutine fix_contest_msg(mycall,mygrid,hiscall,msg)
logical isgrid
n=len(trim(msg))
if(n.lt.4) return
g1=msg(n-3:n)//' '
if(isgrid(g1)) then
call azdist(mygrid,g1,0.d0,nAz,nEl,nDmiles,nDkm,nHotAz,nHotABetter)