summaryrefslogtreecommitdiff
path: root/plugins/New_GPG
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/New_GPG')
-rwxr-xr-xplugins/New_GPG/src/main.cpp10
-rwxr-xr-xplugins/New_GPG/src/options.cpp2
-rw-r--r--plugins/New_GPG/src/srmm.cpp2
3 files changed, 7 insertions, 7 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 += ": ";
diff --git a/plugins/New_GPG/src/options.cpp b/plugins/New_GPG/src/options.cpp
index 045623b8b0..1e0951af35 100755
--- a/plugins/New_GPG/src/options.cpp
+++ b/plugins/New_GPG/src/options.cpp
@@ -217,7 +217,7 @@ static INT_PTR CALLBACK DlgProcGpgOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LP
for(MCONTACT hcnttmp = db_find_first(); hcnttmp != NULL; hcnttmp = db_find_next(hcnttmp)) {
if(hcnttmp != hContact) {
char *tmp2 = UniGetContactSettingUtf(hcnttmp, szGPGModuleName, "KeyID", "");
- if(!strcmp(tmp, tmp2)) {
+ if(!mir_strcmp(tmp, tmp2)) {
mir_free(tmp2);
keep = true;
break;
diff --git a/plugins/New_GPG/src/srmm.cpp b/plugins/New_GPG/src/srmm.cpp
index 1cca711d67..f1b646ff06 100644
--- a/plugins/New_GPG/src/srmm.cpp
+++ b/plugins/New_GPG/src/srmm.cpp
@@ -44,7 +44,7 @@ int __cdecl onIconPressed(WPARAM wParam, LPARAM lParam)
else if(db_mc_isSub(hContact))
hMeta = db_mc_getMeta(hContact);
StatusIconClickData *sicd = (StatusIconClickData *)lParam;
- if(strcmp(sicd->szModule, szGPGModuleName))
+ if(mir_strcmp(sicd->szModule, szGPGModuleName))
return 0; // not our event
BYTE enc = db_get_b(hContact, szGPGModuleName, "GPGEncryption", 0);