mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-28 20:32:28 -04: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
23f0f50edb
commit
6e5de7474f
@ -122,7 +122,9 @@ subroutine decoder(ntrSeconds,ndepth,nRxLog,c00)
|
|||||||
ndecoded=1
|
ndecoded=1
|
||||||
endif
|
endif
|
||||||
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(maxval(ccfred(ia:ib)).gt.3.0) go to 10
|
||||||
|
|
||||||
if(fgood.eq.0.0) then
|
if(fgood.eq.0.0) then
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
//------------------------------------------------------------- MainWindow
|
//-------------------------------------------------------------- MainWindow
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
#include "ui_mainwindow.h"
|
#include "ui_mainwindow.h"
|
||||||
#include "devsetup.h"
|
#include "devsetup.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user