summaryrefslogtreecommitdiff
path: root/plugins/New_GPG/src/main.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-22 12:33:13 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-22 12:33:13 +0000
commit159b565b390687258ee65a3b66596e118752063c (patch)
tree91105378fcb9e030ba4a7f6572c4ea307cb8c8d6 /plugins/New_GPG/src/main.cpp
parent7f4d529b59698d7eb2403bd1f9088a5aa7fa9080 (diff)
replace strcmp to mir_strcmp
git-svn-id: http://svn.miranda-ng.org/main/trunk@13752 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/New_GPG/src/main.cpp')
-rwxr-xr-xplugins/New_GPG/src/main.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/New_GPG/src/main.cpp b/plugins/New_GPG/src/main.cpp
index 7ca182d3d6..451bd8af1c 100755
--- a/plugins/New_GPG/src/main.cpp
+++ b/plugins/New_GPG/src/main.cpp
@@ -322,7 +322,7 @@ static INT_PTR CALLBACK DlgProcFirstRun(HWND hwndDlg,UINT msg,WPARAM wParam,LPAR
{
char buf[64];
GetDlgItemTextA(hwndDlg, IDC_ACCOUNT, buf, SIZEOF(buf));
- if(!strcmp(buf, Translate("Default")))
+ if(!mir_strcmp(buf, Translate("Default")))
{
db_set_s(NULL, szGPGModuleName, "GPGPubKey", out.c_str());
db_set_ts(NULL, szGPGModuleName, "KeyMainName", name);
@@ -340,7 +340,7 @@ static INT_PTR CALLBACK DlgProcFirstRun(HWND hwndDlg,UINT msg,WPARAM wParam,LPAR
acc_str += "_KeyID";
db_set_ts(NULL, szGPGModuleName, acc_str.c_str(), fp);
}
- if(!strcmp(buf, Translate("Default")))
+ if(!mir_strcmp(buf, Translate("Default")))
{
wstring keyinfo = TranslateT("Default private key ID");
keyinfo += _T(": ");
@@ -497,7 +497,7 @@ static INT_PTR CALLBACK DlgProcFirstRun(HWND hwndDlg,UINT msg,WPARAM wParam,LPAR
{
char buf[64];
GetDlgItemTextA(hwndDlg, IDC_ACCOUNT, buf, SIZEOF(buf));
- if(!strcmp(buf, Translate("Default")))
+ if(!mir_strcmp(buf, Translate("Default")))
{
db_unset(NULL, szGPGModuleName, "GPGPubKey");
db_unset(NULL, szGPGModuleName, "KeyID");
@@ -625,7 +625,7 @@ static INT_PTR CALLBACK DlgProcFirstRun(HWND hwndDlg,UINT msg,WPARAM wParam,LPAR
{
char buf[64];
GetDlgItemTextA(hwndDlg, IDC_ACCOUNT, buf, SIZEOF(buf));
- if(!strcmp(buf, Translate("Default")))
+ if(!mir_strcmp(buf, Translate("Default")))
{
db_set_s(NULL, szGPGModuleName, "GPGPubKey", out.c_str());
db_set_ts(NULL, szGPGModuleName, "KeyID", fp);
@@ -650,7 +650,7 @@ static INT_PTR CALLBACK DlgProcFirstRun(HWND hwndDlg,UINT msg,WPARAM wParam,LPAR
{
char buf[64];
GetDlgItemTextA(hwndDlg, IDC_ACCOUNT, buf, SIZEOF(buf));
- if(!strcmp(buf, Translate("Default")))
+ if(!mir_strcmp(buf, Translate("Default")))
{
string keyinfo = Translate("key ID");
keyinfo += ": ";