mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-11-03 13:30:52 -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
							
								
									0337aafc18
								
							
						
					
					
						commit
						25aa2e2711
					
				
							
								
								
									
										12
									
								
								decode2.f90
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								decode2.f90
									
									
									
									
									
								
							@ -75,8 +75,16 @@ subroutine decode2
 | 
				
			|||||||
     if(mousebutton.eq.0) istart=1
 | 
					     if(mousebutton.eq.0) istart=1
 | 
				
			||||||
     if(mousebutton.gt.0) then
 | 
					     if(mousebutton.gt.0) then
 | 
				
			||||||
        jzz=lenpick
 | 
					        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.lt.2) istart=2
 | 
				
			||||||
        if(istart+jzz.gt.jzc) istart=jzc-jzz
 | 
					        if(istart+jzz.gt.jzc) istart=jzc-jzz
 | 
				
			||||||
     endif
 | 
					     endif
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user