From e224f1745a79e44c9c1a4a7f26c730b768dac010 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Sat, 9 Oct 2010 08:34:40 +0300 Subject: srmm icon fix for metacontacts --- options.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'options.cpp') 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) -- cgit v1.2.3