summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_events.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-07-14 12:12:02 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-07-14 12:12:02 +0000
commitf68793bdec7018352995a4e15d7e64807362f6b6 (patch)
tree92f5a75bf0774cbef9737bdacca112ab95e9e104 /protocols/SkypeWeb/src/skype_events.cpp
parentd6c3f8a49c8d4d679bc6dd55e9776bdd03c8c092 (diff)
SkypeWeb: small fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@14559 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_events.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_events.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/protocols/SkypeWeb/src/skype_events.cpp b/protocols/SkypeWeb/src/skype_events.cpp
index 6a15a6a553..8c76ab9de0 100644
--- a/protocols/SkypeWeb/src/skype_events.cpp
+++ b/protocols/SkypeWeb/src/skype_events.cpp
@@ -71,7 +71,7 @@ INT_PTR CSkypeProto::GetCallEventText(WPARAM, LPARAM lParam)
ptrA fileName(mir_utf8encodeT(ptrT((TCHAR*)xmlGetText(xmlNode))));
if (fileName != NULL)
{
- CMStringA msg(FORMAT, "%s:\n\t%s: %s\n\t%s: %d %s", Translate("File transfer"), Translate("File name"), fileName, Translate("Size"), fileSize, Translate("bytes"));
+ CMStringA msg(FORMAT, Translate("File transfer:\n\tFile name: %s\n\tSize: %d bytes"), fileName, fileSize);
text.AppendFormat("%s\n", msg);
}
@@ -128,20 +128,20 @@ INT_PTR CSkypeProto::EventGetIcon(WPARAM wParam, LPARAM lParam)
{
case SKYPE_DB_EVENT_TYPE_CALL_INFO:
case SKYPE_DB_EVENT_TYPE_INCOMING_CALL:
- {
- icon = IcoLib_GetIconByHandle(GetIconHandle("inc_call"));
- break;
- }
+ {
+ icon = IcoLib_GetIconByHandle(GetIconHandle("inc_call"));
+ break;
+ }
case SKYPE_DB_EVENT_TYPE_ACTION:
- {
- icon = IcoLib_GetIconByHandle(GetIconHandle("me_action"));
- break;
- }
+ {
+ icon = IcoLib_GetIconByHandle(GetIconHandle("me_action"));
+ break;
+ }
default:
- {
- icon = Skin_LoadIcon(SKINICON_EVENT_MESSAGE);
- break;
- }
+ {
+ icon = Skin_LoadIcon(SKINICON_EVENT_MESSAGE);
+ break;
+ }
}
return (INT_PTR)((wParam & LR_SHARED) ? icon : CopyIcon(icon));