mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-11-04 05:50:31 -05:00 
			
		
		
		
	Fix nz=0 bug in display.F90.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@574 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
		
							parent
							
								
									e52c46e4a0
								
							
						
					
					
						commit
						ce99c590dd
					
				@ -30,6 +30,7 @@ subroutine display(nkeep,ncsmin)
 | 
				
			|||||||
10 nz=i-1
 | 
					10 nz=i-1
 | 
				
			||||||
  utcz=utc(nz)
 | 
					  utcz=utc(nz)
 | 
				
			||||||
  nz=nz-1
 | 
					  nz=nz-1
 | 
				
			||||||
 | 
					  if(nz.lt.1) go to 999
 | 
				
			||||||
  nquad=max(nkeep/4,3)
 | 
					  nquad=max(nkeep/4,3)
 | 
				
			||||||
  do i=1,nz
 | 
					  do i=1,nz
 | 
				
			||||||
     nage=utcz-utc(i)
 | 
					     nage=utcz-utc(i)
 | 
				
			||||||
@ -59,8 +60,8 @@ subroutine display(nkeep,ncsmin)
 | 
				
			|||||||
        write(26,1010) line(i)
 | 
					        write(26,1010) line(i)
 | 
				
			||||||
     enddo
 | 
					     enddo
 | 
				
			||||||
  endif
 | 
					  endif
 | 
				
			||||||
  call flushqqq(26)
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  call flushqqq(26)
 | 
				
			||||||
  call indexx(nz,freqkHz,indx)
 | 
					  call indexx(nz,freqkHz,indx)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  nstart=1
 | 
					  nstart=1
 | 
				
			||||||
@ -159,5 +160,5 @@ subroutine display(nkeep,ncsmin)
 | 
				
			|||||||
1040 format(a40)
 | 
					1040 format(a40)
 | 
				
			||||||
  enddo
 | 
					  enddo
 | 
				
			||||||
  call flushqqq(20)
 | 
					  call flushqqq(20)
 | 
				
			||||||
  return
 | 
					999  return
 | 
				
			||||||
end subroutine display
 | 
					end subroutine display
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user