From 90858f896435e96d73192297b7fc77675dc189c3 Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Thu, 13 Dec 2018 22:22:10 -0500 Subject: [PATCH] Fixed #43: space prefix should not break directed call --- varicode.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/varicode.cpp b/varicode.cpp index 55771e1..9ea3ffe 100644 --- a/varicode.cpp +++ b/varicode.cpp @@ -98,7 +98,8 @@ QMap directed_cmds = { {" 73", 28 }, // best regards, end of contact {" ACK", 29 }, // acknowledge {" AGN?", 30 }, // repeat message - {" ", 31 }, // send freetext + {" ", 31 }, // send freetext (weird artifact) + {" ", 31 }, // send freetext }; QSet allowed_cmds = {-1, 0, 1, 2, 3, 4, 5, 6, /*7,*/ 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31};