summaryrefslogtreecommitdiff
path: root/plugins/AVS/poll.cpp
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-06-14 08:19:18 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-06-14 08:19:18 +0000
commit1784cdf49b8196219563795cf3b11b7c4c2a6746 (patch)
tree2709ee261bcfe10ce6cdbf8b709b6dbb6601fd93 /plugins/AVS/poll.cpp
parent56f5e6a1ccee8e4b1c800ee1577ee59486940f3a (diff)
"#ifsef Unicode" removal - first commit
git-svn-id: http://svn.miranda-ng.org/main/trunk@408 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AVS/poll.cpp')
-rw-r--r--plugins/AVS/poll.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/AVS/poll.cpp b/plugins/AVS/poll.cpp
index 32553a9c33..d93ef5309c 100644
--- a/plugins/AVS/poll.cpp
+++ b/plugins/AVS/poll.cpp
@@ -246,7 +246,7 @@ int FetchAvatarFor(HANDLE hContact, char *szProto = NULL)
pai_s.hContact = hContact;
//_DebugTrace(hContact, "schedule request");
INT_PTR res = CallProtoService(szProto, PS_GETAVATARINFOT, GAIF_FORCE, (LPARAM)&pai_s);
-#ifdef _UNICODE
+
if (res == CALLSERVICE_NOTFOUND)
{
PROTO_AVATAR_INFORMATION pai = {0};
@@ -256,7 +256,7 @@ int FetchAvatarFor(HANDLE hContact, char *szProto = NULL)
MultiByteToWideChar( CP_ACP, 0, pai.filename, -1, pai_s.filename, SIZEOF(pai_s.filename));
pai_s.format = pai.format;
}
-#endif
+
if (res != CALLSERVICE_NOTFOUND) result = res;
ProcessAvatarInfo(pai_s.hContact, result, &pai_s, szProto);
}