mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-26 22:28:41 -05:00
Fixed selection of correct data slice when doing mouse-picked JT6M
decodes from a recorded file. (Still need to test for decoding from real-time data.) git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@223 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
4f196eb750
commit
e669a96f27
12
decode2.f90
12
decode2.f90
@ -75,8 +75,16 @@ subroutine decode2
|
||||
if(mousebutton.eq.0) istart=1
|
||||
if(mousebutton.gt.0) then
|
||||
jzz=lenpick
|
||||
if(mode(1:4).eq.'JT6M') jzz=4*11025
|
||||
istart=istart + 3300 - jzz/2
|
||||
|
||||
! This is a major kludge:
|
||||
if(mode(1:4).eq.'JT6M') then
|
||||
jzz=4*11025
|
||||
if(mousebutton.eq.3) jzz=10*11025
|
||||
istart=istart+11025
|
||||
else
|
||||
istart=istart + 3300 - jzz/2
|
||||
endif
|
||||
|
||||
if(istart.lt.2) istart=2
|
||||
if(istart+jzz.gt.jzc) istart=jzc-jzz
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user