From a5d592e44e8edf97c1705d87e631794699ac87c3 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Wed, 25 Jan 2017 18:43:43 +0000 Subject: [PATCH] Correct the logic used for filtering legitimate CQ messages for LiveCQ. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@7553 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- libm65/qra64c.f90 | 8 ++++---- mainwindow.cpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libm65/qra64c.f90 b/libm65/qra64c.f90 index b1dfd37d6..7ef7b27a7 100644 --- a/libm65/qra64c.f90 +++ b/libm65/qra64c.f90 @@ -204,10 +204,10 @@ subroutine qra64c(cx,cy,nutc,nqd,ikhz,nfqso,ntol,xpol,mycall_12, & write(21,1014) freq,nfreq,dtx,npol,nsnr,nutc,decoded,cp, & cmode(1:1),cmode(2:2) 1014 format(f8.3,i5,f5.1,2i4,i5.4,2x,a22,2x,a1,3x,a1,1x,a1) - - if(index(decoded,' CQ ').gt.0 .or. index(decoded,' QRZ ').gt.0 .or. & - index(decoded,' QRT ').gt.0 .or. index(decoded,' CQV ').gt.0 .or. & - index(decoded,' CQH ').gt.0) then + + if(index(decoded,'CQ ').gt.0 .or. index(decoded,'QRZ ').gt.0 .or. & + index(decoded,'QRT ').gt.0 .or. index(decoded,'CQV ').gt.0 .or. & + index(decoded,'CQH ').gt.0) then write(19,1016) ikhz,nfreq,npol,nutc,dtx,nsnr,decoded,0,cmode 1016 format(i3,i5,i4,i5.4,f7.1,i4,2x,a22,i3,1x,a2) flush(19) diff --git a/mainwindow.cpp b/mainwindow.cpp index 3027ea542..cf8794062 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1,4 +1,4 @@ -//---------------------------------------------------------------- MainWindow +//--------------------------------------------------------------- MainWindow #include "mainwindow.h" #include "ui_mainwindow.h" #include "devsetup.h"