summaryrefslogtreecommitdiff
path: root/options.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2010-10-09 08:34:40 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2010-10-09 08:34:40 +0300
commite224f1745a79e44c9c1a4a7f26c730b768dac010 (patch)
tree0374c3ac3c256060dff2248bbb98dd6e4fdb0ef6 /options.cpp
parent5b66750e1759aef824fab28d8e36f349bc060f20 (diff)
srmm icon fix for metacontacts
Diffstat (limited to 'options.cpp')
-rw-r--r--options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/options.cpp b/options.cpp
index 7061f39..9836d67 100644
--- a/options.cpp
+++ b/options.cpp
@@ -637,7 +637,7 @@ static BOOL CALLBACK DlgProcLoadPublicKey(HWND hwndDlg,UINT msg,WPARAM wParam,LP
}
}
char *tmp = UniGetContactSettingUtf(hcnt, szGPGModuleName, "KeyID_Prescense", "");
- if(strlen(tmp) > 0)
+ if(tmp[0])
{
char *tmp2 = UniGetContactSettingUtf(hcnt, szGPGModuleName, "KeyID", "");
if(strlen(tmp2) == 0)