diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-01-28 15:15:20 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-01-28 15:15:20 +0000 |
commit | da2409530d8eaf35f33aa8bfe478431bbad3c308 (patch) | |
tree | 13ae14c218d93d7c1924eb38bd575c016e9321c5 /plugins/FingerprintNG/src/fingerprint.cpp | |
parent | e052320014294575690ff5310cc9898b0b3d0fb1 (diff) |
added option for disabling unicode overlay
git-svn-id: http://svn.miranda-ng.org/main/trunk@3322 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FingerprintNG/src/fingerprint.cpp')
-rw-r--r-- | plugins/FingerprintNG/src/fingerprint.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/plugins/FingerprintNG/src/fingerprint.cpp b/plugins/FingerprintNG/src/fingerprint.cpp index a1866752be..8c92a6e6e2 100644 --- a/plugins/FingerprintNG/src/fingerprint.cpp +++ b/plugins/FingerprintNG/src/fingerprint.cpp @@ -115,8 +115,16 @@ void RegisterIcons() Prepare(&def_kn_fp_overlays2_mask[i], false);
}
- for (i = 0; i < DEFAULT_KN_FP_OVERLAYS3_COUNT; i++)
- Prepare(&def_kn_fp_overlays3_mask[i], true);
+ if ( db_get_b(NULL, "Finger", "GroupOverlaysUnicode", 1)) {
+ for (i = 0; i < DEFAULT_KN_FP_OVERLAYS3_COUNT; i++)
+ Prepare(&def_kn_fp_overlays3_mask[i], true);
+ }
+ else {
+ for (i = 0; i < DEFAULT_KN_FP_OVERLAYS3_NO_UNICODE_COUNT; i++)
+ Prepare(&def_kn_fp_overlays3_mask[i], true);
+ for (; i < DEFAULT_KN_FP_OVERLAYS3_COUNT; i++)
+ Prepare(&def_kn_fp_overlays3_mask[i], false);
+ }
for (i = 0; i < DEFAULT_KN_FP_OVERLAYS4_COUNT; i++)
Prepare(&def_kn_fp_overlays4_mask[i], true);
|