From 688f55ba998c19304a29727c910504903f4cc49a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 30 Nov 2014 18:51:36 +0000 Subject: lstr* replacements git-svn-id: http://svn.miranda-ng.org/main/trunk@11176 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/GmailNotifier/src/utility.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/GmailNotifier/src/utility.cpp') 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; } -- cgit v1.2.3