diff options
author | George Hazan <ghazan@miranda.im> | 2018-03-16 21:05:31 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-03-16 21:05:31 +0300 |
commit | 12225716d38830a23477b97a6979b6414faeec7b (patch) | |
tree | baa3169833239de523eef0c7cf1c1c1fe0731c35 /plugins/NewsAggregator/Src/Utils.cpp | |
parent | 39390b02dbd5aa7eb21a83773fa561b39f8828bc (diff) |
entities' names to be started with capital letters
Diffstat (limited to 'plugins/NewsAggregator/Src/Utils.cpp')
-rw-r--r-- | plugins/NewsAggregator/Src/Utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/NewsAggregator/Src/Utils.cpp b/plugins/NewsAggregator/Src/Utils.cpp index d2e646c5e8..4eff01b870 100644 --- a/plugins/NewsAggregator/Src/Utils.cpp +++ b/plugins/NewsAggregator/Src/Utils.cpp @@ -431,7 +431,7 @@ MCONTACT GetContactByNick(const wchar_t *nick) {
MCONTACT hContact = NULL;
- for (auto &hContact : contact_iter(MODULE)) {
+ for (auto &hContact : Contacts(MODULE)) {
ptrW contactNick(::db_get_wsa(hContact, MODULE, "Nick"));
if (!mir_wstrcmpi(contactNick, nick))
break;
@@ -443,7 +443,7 @@ MCONTACT GetContactByURL(const wchar_t *url) {
MCONTACT hContact = NULL;
- for (auto &hContact : contact_iter(MODULE)) {
+ for (auto &hContact : Contacts(MODULE)) {
ptrW contactURL(::db_get_wsa(hContact, MODULE, "URL"));
if (!mir_wstrcmpi(contactURL, url))
break;
|