summaryrefslogtreecommitdiff
path: root/plugins/FingerprintNG/src/fingerprint.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-08-03 09:19:25 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-08-03 09:19:25 +0000
commit7789cd497234df73cb69cd32e6a053aaef58fe24 (patch)
treeccf8cf894cd3c87d42bee0642711250361dfab96 /plugins/FingerprintNG/src/fingerprint.cpp
parent9bdafb8b8afd7deefb64ea593d4ce0e0df48aae6 (diff)
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
Diffstat (limited to 'plugins/FingerprintNG/src/fingerprint.cpp')
-rw-r--r--plugins/FingerprintNG/src/fingerprint.cpp2
1 files changed, 2 insertions, 0 deletions
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");
}
}