diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-01 18:10:32 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-01 18:10:32 +0000 |
commit | 2bb514f4195c99b52e0ec748c975c0fd30dbbd25 (patch) | |
tree | e7325f314a828e1233b89ef688e6e52a8846925a /plugins/NewsAggregator/Src/CheckFeed.cpp | |
parent | a59538975c7fef04bcbf9e62b81c78753ac2a16c (diff) |
another bunch of dead crutches: non-unicode avatar services
git-svn-id: http://svn.miranda-ng.org/main/trunk@13961 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NewsAggregator/Src/CheckFeed.cpp')
-rw-r--r-- | plugins/NewsAggregator/Src/CheckFeed.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/plugins/NewsAggregator/Src/CheckFeed.cpp b/plugins/NewsAggregator/Src/CheckFeed.cpp index 613a3e2981..69d0050da0 100644 --- a/plugins/NewsAggregator/Src/CheckFeed.cpp +++ b/plugins/NewsAggregator/Src/CheckFeed.cpp @@ -257,8 +257,7 @@ void CheckCurrentFeed(MCONTACT hContact) LPCTSTR url = xi.getText(imageval);
db_set_ts(hContact, MODULE, "ImageURL", url);
- PROTO_AVATAR_INFORMATIONT pai = { NULL };
- pai.cbSize = sizeof(pai);
+ PROTO_AVATAR_INFORMATION pai = { NULL };
pai.hContact = hContact;
TCHAR *szNick = db_get_tsa(hContact, MODULE, "Nick");
@@ -388,8 +387,7 @@ void CheckCurrentFeed(MCONTACT hContact) TCHAR *szNick = db_get_tsa(hContact, MODULE, "Nick");
if (szNick) {
- PROTO_AVATAR_INFORMATIONT pai = { NULL };
- pai.cbSize = sizeof(pai);
+ PROTO_AVATAR_INFORMATION pai = { NULL };
pai.hContact = hContact;
TCHAR *ext = _tcsrchr((TCHAR *)url, _T('.')) + 1;
pai.format = ProtoGetAvatarFormat(ext);
@@ -532,8 +530,7 @@ void CheckCurrentFeedAvatar(MCONTACT hContact) LPCTSTR url = xi.getText(imageval);
db_set_ts(hContact, MODULE, "ImageURL", url);
- PROTO_AVATAR_INFORMATIONT pai = { NULL };
- pai.cbSize = sizeof(pai);
+ PROTO_AVATAR_INFORMATION pai = { NULL };
pai.hContact = hContact;
TCHAR *szNick = db_get_tsa(hContact, MODULE, "Nick");
@@ -568,8 +565,7 @@ void CheckCurrentFeedAvatar(MCONTACT hContact) TCHAR *szNick = db_get_tsa(hContact, MODULE, "Nick");
if (szNick) {
- PROTO_AVATAR_INFORMATIONT pai = { NULL };
- pai.cbSize = sizeof(pai);
+ PROTO_AVATAR_INFORMATION pai = { NULL };
pai.hContact = hContact;
TCHAR *ext = _tcsrchr((TCHAR *)url, _T('.')) + 1;
|