mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-10-31 13:10:19 -04:00 
			
		
		
		
	Allow for empty decode messages when extracting received reports
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6841 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
		
							parent
							
								
									cca1a17607
								
							
						
					
					
						commit
						76917ed1ac
					
				| @ -86,7 +86,8 @@ bool DecodedText::report(QString const& myBaseCall, QString const& dxBaseCall, / | ||||
|     bool b = stdmsg_(msg.mid(0,22).toLatin1().constData(),22);  // stdmsg is a fortran routine that packs the text, unpacks it and compares the result
 | ||||
| 
 | ||||
|     QStringList w=msg.split(" ",QString::SkipEmptyParts); | ||||
|     if(b && (w[0] == myBaseCall | ||||
|     if(w.size () | ||||
|        && b && (w[0] == myBaseCall | ||||
|              || w[0].endsWith ("/" + myBaseCall) | ||||
|              || w[0].startsWith (myBaseCall + "/") | ||||
|              || (w.size () > 1 && !dxBaseCall.isEmpty () | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user