Hi Andy,

there seems to be a problem in xlog-2.0.7 in reading the accurate
frequency from a cabrillo file. E.g. if the frequency is 7007 in
cabrillo it is read in as 7.7 Mc into the log.

The attached patch fixes that.

73, de Tom DL1JBE.

-- 
"Do what is needful!"
Ursula LeGuin: Earthsea
--

--- src/logfile/cabrillo3.c.old	2013-05-23 15:27:32.000000000 +0200
+++ src/logfile/cabrillo3.c	2013-05-23 15:27:40.000000000 +0200
@@ -341,7 +341,7 @@
 							g_strdup_printf ("%d", khz/1000);
 					else
 						q[cabrillo_fields[i]] =
-							g_strdup_printf ("%d.%d", khz/1000, khz%1000);
+							g_strdup_printf ("%d.%03d", khz/1000, khz%1000);
 				}
 				else
 				{
_______________________________________________
Xlog-discussion mailing list
Xlog-discussion@nongnu.org
https://lists.nongnu.org/mailman/listinfo/xlog-discussion

Reply via email to