Fix problem that affected Type 1 callsigns with 6 chars.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5609 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Steven Franke 2015-06-14 18:13:38 +00:00
parent d17c48183d
commit 9231696718

View File

@ -184,7 +184,7 @@ int get_wspr_channel_symbols(char* message, unsigned char* symbols) {
// Use the presence and/or absence of "<" and "/" to decide what
// type of message. No sanity checks! Beware!
if( (i1>3) & (i1<6) & (i2==mlen) & (i3==mlen) ) {
if( (i1>3) & (i1<7) & (i2==mlen) & (i3==mlen) ) {
// Type 1 message: K9AN EN50 33
// xxnxxxx xxnn nn
const char s[2]=" ";