summaryrefslogtreecommitdiff
path: root/plugins/FingerprintNG/src/fingerprint.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-12-02 11:21:16 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-12-02 11:21:16 +0000
commit5ea5feb7e052ca45af7bc9ed76e4a252bd71950d (patch)
tree1ea5aad915514d4cbe992006b684be183de6292b /plugins/FingerprintNG/src/fingerprint.cpp
parent66ddfd87a0e55b9534b8669392bb0cdee2e9fa3b (diff)
- added miranda ng overlays
- changed SecureIM overlay - reorganised and replaced resource/platforms overlays - fixed miranda overlays actually weren't working - icons moved to res folder - version info standartization git-svn-id: http://svn.miranda-ng.org/main/trunk@2600 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FingerprintNG/src/fingerprint.cpp')
-rw-r--r--plugins/FingerprintNG/src/fingerprint.cpp13
1 files changed, 5 insertions, 8 deletions
diff --git a/plugins/FingerprintNG/src/fingerprint.cpp b/plugins/FingerprintNG/src/fingerprint.cpp
index 589003c30e..c22abf66e8 100644
--- a/plugins/FingerprintNG/src/fingerprint.cpp
+++ b/plugins/FingerprintNG/src/fingerprint.cpp
@@ -102,25 +102,22 @@ void RegisterIcons()
for (i=0; i < DEFAULT_KN_FP_MASK_COUNT; i++)
Prepare(&def_kn_fp_mask[i], true);
- bool bEnable = db_get_b(NULL, "Finger", "Overlay1", 1) != 0;
for (i=0; i < DEFAULT_KN_FP_OVERLAYS_COUNT; i++)
- Prepare(&def_kn_fp_overlays_mask[i], bEnable);
+ Prepare(&def_kn_fp_overlays_mask[i], true);
- bEnable = db_get_b(NULL, "Finger", "Overlay2", 1) != 0;
- if ( db_get_b(NULL, "Finger", "ShowVersion", 0)) {
+ if ( db_get_b(NULL, "Finger", "GroupMirandaVersion", 0)) {
for (i = 0; i < DEFAULT_KN_FP_OVERLAYS2_COUNT; i++)
- Prepare(&def_kn_fp_overlays2_mask[i], bEnable);
+ Prepare(&def_kn_fp_overlays2_mask[i], true);
}
else {
for (i=0; i < DEFAULT_KN_FP_OVERLAYS2_NO_VER_COUNT; i++)
- Prepare(&def_kn_fp_overlays2_mask[i], bEnable);
+ Prepare(&def_kn_fp_overlays2_mask[i], true);
for (; i < DEFAULT_KN_FP_OVERLAYS2_COUNT; i++)
Prepare(&def_kn_fp_overlays2_mask[i], false);
}
- bEnable = db_get_b(NULL, "Finger", "Overlay3", 1) != 0;
for (i=0; i < DEFAULT_KN_FP_OVERLAYS3_COUNT; i++)
- Prepare(&def_kn_fp_overlays3_mask[i], bEnable);
+ Prepare(&def_kn_fp_overlays3_mask[i], true);
}
/*