summaryrefslogtreecommitdiff
path: root/plugins/GmailNotifier/src/utility.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-11-30 18:51:36 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-11-30 18:51:36 +0000
commit688f55ba998c19304a29727c910504903f4cc49a (patch)
tree69121ebb6d02bcf9e670428b11813087fc7f1640 /plugins/GmailNotifier/src/utility.cpp
parent4f0e30cdf56fbafdf955bbe8b93930bab9e39bd0 (diff)
lstr* replacements
git-svn-id: http://svn.miranda-ng.org/main/trunk@11176 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/GmailNotifier/src/utility.cpp')
-rw-r--r--plugins/GmailNotifier/src/utility.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/GmailNotifier/src/utility.cpp b/plugins/GmailNotifier/src/utility.cpp
index 9363f27f60..19156366fd 100644
--- a/plugins/GmailNotifier/src/utility.cpp
+++ b/plugins/GmailNotifier/src/utility.cpp
@@ -11,12 +11,12 @@ void BuildList(void)
acc = (Account *)realloc(acc, acc_num * sizeof(Account));
memset(&acc[acc_num-1], 0, sizeof(Account));
acc[acc_num-1].hContact = hContact;
- lstrcpyA(acc[acc_num-1].name, dbv.pszVal);
+ mir_strcpy(acc[acc_num-1].name, dbv.pszVal);
CallService(MS_IGNORE_IGNORE, hContact, IGNOREEVENT_USERONLINE);
db_free(&dbv);
if (!db_get_s(hContact, pluginName, "Password", &dbv)) {
- lstrcpyA(acc[acc_num-1].pass, dbv.pszVal);
+ mir_strcpy(acc[acc_num-1].pass, dbv.pszVal);
db_free(&dbv);
}
}
@@ -25,7 +25,7 @@ void BuildList(void)
for (int i = 0; i < acc_num; i++) {
char *tail = strchr(acc[i].name, '@');
if (tail && lstrcmpA(tail + 1, "gmail.com") != 0)
- lstrcpyA(acc[i].hosted, tail + 1);
+ mir_strcpy(acc[i].hosted, tail + 1);
acc[i].IsChecking = FALSE;
}
}
@@ -43,7 +43,7 @@ BOOL GetBrowser(char *str)
else if (opt.OpenUsePrg == 0)
strKey = strDefault;
else if (!db_get_s(NULL, pluginName, "OpenUsePrgPath", &dbv)) {
- lstrcpyA(str, dbv.pszVal);
+ mir_strcpy(str, dbv.pszVal);
db_free(&dbv);
return FALSE;
}