summaryrefslogtreecommitdiff
path: root/options.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2010-09-16 06:32:26 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2010-09-16 06:32:26 +0300
commit65cba88fb1b24e243eb7cd8cc0154598f81dd1d7 (patch)
treee9561c22ee4ed7e011d947d46dcccd191f9f35ae /options.cpp
parent47318893c6ac81644b8c81bc6f58610cd624568d (diff)
windows tittle
Diffstat (limited to 'options.cpp')
-rw-r--r--options.cpp15
1 files changed, 13 insertions, 2 deletions
diff --git a/options.cpp b/options.cpp
index 4f73d32..ee84efe 100644
--- a/options.cpp
+++ b/options.cpp
@@ -669,9 +669,20 @@ static BOOL CALLBACK DlgProcLoadPublicKey(HWND hwndDlg,UINT msg,WPARAM wParam,LP
break;
}
}
- TCHAR *tmp = mir_a2t(out.c_str());
+ TCHAR *tmp3 = mir_a2t(out.c_str());
str.clear();
- str.append(tmp);
+ str.append(tmp3);
+ string msg = "Load Public GPG Key (Key ID: ";
+ msg += tmp;
+ msg += " found in prescense, and exists in keyring.)";
+ SetWindowTextA(hwndDlg, msg.c_str());
+ }
+ else
+ {
+ string msg = "Load Public GPG Key (Key ID: ";
+ msg += tmp;
+ msg += " found in prescense.)";
+ SetWindowTextA(hwndDlg, msg.c_str());
}
}
mir_free(tmp2);