From 7789cd497234df73cb69cd32e6a053aaef58fe24 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 3 Aug 2014 09:19:25 +0000 Subject: if the default sub has no MirVer, the appropriate setting in meta must be deleted git-svn-id: http://svn.miranda-ng.org/main/trunk@10044 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/FingerprintNG/src/fingerprint.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins') diff --git a/plugins/FingerprintNG/src/fingerprint.cpp b/plugins/FingerprintNG/src/fingerprint.cpp index ef464d93e8..0211663f8c 100644 --- a/plugins/FingerprintNG/src/fingerprint.cpp +++ b/plugins/FingerprintNG/src/fingerprint.cpp @@ -868,6 +868,8 @@ static int OnMetaDefaultChanged(WPARAM hMeta, LPARAM hSub) ptrT tszMirver(db_get_tsa(hSub, szProto, "MirVer")); if (tszMirver) db_set_ts(hMeta, META_PROTO, "MirVer", tszMirver); + else + db_unset(hMeta, META_PROTO, "MirVer"); } } -- cgit v1.2.3