mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-02-03 09:44:24 -05:00
Don't let index exceed array bounds.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@2735 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
d24842271b
commit
b0c0af3a87
@ -122,7 +122,9 @@ subroutine decoder(ntrSeconds,ndepth,nRxLog,c00)
|
||||
ndecoded=1
|
||||
endif
|
||||
endif
|
||||
ccfred(i-10:i+10)=0.
|
||||
i1=max(ia,i-10)
|
||||
i2=min(ib,i+10)
|
||||
ccfred(i1:i2)=0.
|
||||
if(maxval(ccfred(ia:ib)).gt.3.0) go to 10
|
||||
|
||||
if(fgood.eq.0.0) then
|
||||
|
@ -1,4 +1,4 @@
|
||||
//------------------------------------------------------------- MainWindow
|
||||
//-------------------------------------------------------------- MainWindow
|
||||
#include "mainwindow.h"
|
||||
#include "ui_mainwindow.h"
|
||||
#include "devsetup.h"
|
||||
|
Loading…
Reference in New Issue
Block a user