summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);