blob: f0410184f9fee9216bc5595b76f6146a8102b217 (
plain)
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
|
--- src/logfile/adif.c.orig 2009-05-17 13:09:29.000000000 +0200
+++ src/logfile/adif.c 2009-05-17 15:28:32.000000000 +0200
@@ -449,6 +449,25 @@
}
}
+ /* export all QSL-info's as 'Y' for 'y', 'Y' or 'x',
+ * drop entry for 'n' or 'N' and
+ * as 'V' (invalid) for all other values of nonzero length
+ */
+ else if (fld == QSLOUT || fld == QSLIN)
+ {
+ qfield = q[fld];
+ if (qfield_len == 1 && (qfield[0] == 'Y' || qfield[0] == 'y' || qfield[0] == 'X' || qfield[0] == 'x'))
+ qfield[0] = 'Y';
+ else if (qfield_len == 1 && (qfield[0] == 'N' || qfield[0] == 'n'))
+ continue;
+ else
+ {
+ qfield[0] = 'I';
+ qfield[1] = '\0';
+ qfield_len = 1;
+ }
+ }
+
else if (fld == RST || fld == MYRST)
{
if (mode == MODE_SSB || mode == MODE_AM || mode == MODE_FM)
|