Cut down on a few false positives of auto-prepended callsigns with text override for words 3 characters or less.
This commit is contained in:
parent
bb3a710b88
commit
bb24724587
@ -1698,7 +1698,7 @@ QList<QPair<QString, int>> Varicode::buildMessageFrames(
|
||||
|
||||
#if AUTO_PREPEND_DIRECTED_ALLOW_TEXT_CALLSIGNS
|
||||
auto calls = Varicode::parseCallsigns(line);
|
||||
bool lineStartsWithStandardCall = !calls.isEmpty() && line.startsWith(calls.first()) && calls.first().length() > 2;
|
||||
bool lineStartsWithStandardCall = !calls.isEmpty() && line.startsWith(calls.first()) && calls.first().length() > 3;
|
||||
#else
|
||||
bool lineStartsWithStandardCall = false;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user