Subject: CVS commit: wip/trustedQSL
From: Makoto Fujiwara
Date: 2014-07-18 04:22:58
Message id: E1X7xpM-00023t-HT@sfs-ml-2.v29.ch3.sourceforge.com

Log Message:
Bump version 2.0.2 to 2.0.3
(tqslilb: 2.4)
Fix defect that doesn't allow adding station locations if only a single
callsign certificate is installed.
 
(following diff is manually editted, tabs are deleted)
 diff -urp tqsl-2.0.2/src/location.cpp tqsl-2.0.3/src/location.cpp
--- tqsl-2.0.2/src/location.cpp	2014-07-13 05:18:13.000000000 +0900
+++ tqsl-2.0.3/src/location.cpp	2014-07-17 10:22:16.000000000 +0900
@@ -1152,6 +1152,9 @@ update_page(int page, TQSL_LOCATION *loc
 			field.idx = static_cast<int>(field.items.size());
 		field.items.push_back(item);
 	}
+	if (field.idx == -1 && field.items.size() == 1) {
+		field.idx = 0;
+	}
 	if (field.idx >= 0) {
 		field.cdata = field.items[field.idx].text;
 	}

Files:
RevisionActionfile
1.55modifywip/trustedQSL/Makefile
1.35modifywip/trustedQSL/distinfo