summaryrefslogtreecommitdiff
path: root/map65/libm65/ptt.c
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2026-09-26 23:24:03 +0200
committerChristoph Berg <myon@debian.org>2026-09-26 23:24:03 +0200
commit059831534c7e884f0a607ed86b582fd00d821731 (patch)
tree76bcb67a78f8aa2654fd34c2ad801a62136b0170 /map65/libm65/ptt.c
parentd83a420f0517d7fc47aeb288a6a0cf4891784fcc (diff)
New upstream version 3.2.0~rc1+dfsgupstream/3.2.0_rc1+dfsg
Diffstat (limited to 'map65/libm65/ptt.c')
-rw-r--r--map65/libm65/ptt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/map65/libm65/ptt.c b/map65/libm65/ptt.c
index 3170ab78..b2c6cb48 100644
--- a/map65/libm65/ptt.c
+++ b/map65/libm65/ptt.c
@@ -15,12 +15,12 @@ int ptt_(int *nport, int *ntx, int *iptt)
if(*ntx && (!open)) {
if (*nport < 10)
- snprintf(s, sizeof(s), "COM%d", *nport);
+ snprintf(s, sizeof(s), "COM%d", *nport);
else
snprintf(s, sizeof(s), "\\\\.\\COM%d", *nport);
hFile = CreateFileA(s, GENERIC_WRITE, 0, NULL, OPEN_EXISTING,
- FILE_ATTRIBUTE_NORMAL, NULL);
+ FILE_ATTRIBUTE_NORMAL,NULL);
if(hFile==INVALID_HANDLE_VALUE) {
// printf("PTT: Cannot open COM port %d.\n",*nport);