summaryrefslogtreecommitdiff
path: root/HFCommon.c
diff options
context:
space:
mode:
authorg8bpq <john.wiseman@cantab.net>2023-02-05 11:01:05 +0000
committerg8bpq <john.wiseman@cantab.net>2023-02-05 11:01:05 +0000
commitc32ef4ee1e742d14161b348d62f2c674a1a289e6 (patch)
tree2b8c9ec4840b5965a3a6d70614d5d4ea21967ff1 /HFCommon.c
parentc15de2c7f7e70c97a89b591b3ece72c5047ab4fa (diff)
6.0.23.4623.51
Diffstat (limited to 'HFCommon.c')
-rw-r--r--HFCommon.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/HFCommon.c b/HFCommon.c
index 723d33d..efe1e9e 100644
--- a/HFCommon.c
+++ b/HFCommon.c
@@ -1358,7 +1358,6 @@ VOID UpdateMHSupport(struct TNCINFO * TNC, UCHAR * Call, char Mode, char Directi
int OldCount = 0;
char ReportCall[16];
-
if (MH == 0) return;
if (Digis)
@@ -1445,7 +1444,6 @@ VOID UpdateMHSupport(struct TNCINFO * TNC, UCHAR * Call, char Mode, char Directi
goto NOLOC;
}
-
LOC = memchr(Call, '(', 20);
if (LOC)
@@ -1500,6 +1498,7 @@ NOLOC:
// Move others down and add at front
DoMove:
+
if (i != 0) // First
memmove(MHBASE + 1, MHBASE, i * sizeof(MHSTRUC));