diff options
Diffstat (limited to 'protocols/SkypeWeb/src/skype_events.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_events.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_events.cpp b/protocols/SkypeWeb/src/skype_events.cpp index 6c4e05edb1..acb0e7941c 100644 --- a/protocols/SkypeWeb/src/skype_events.cpp +++ b/protocols/SkypeWeb/src/skype_events.cpp @@ -107,8 +107,11 @@ INT_PTR CSkypeProto::GetEventText(WPARAM pEvent, LPARAM datatype) szText.AppendFormat("\r\n%s: %s", TranslateU("Preview"), xmlThumb);
CMStringA szUrl(xmlThumb);
- szUrl.Replace("/views/imgt1_anim", "/views/imgpsh_fullsize_anim");
- szText.AppendFormat("\r\n%s: %s", TranslateU("Full image"), szUrl.c_str());
+ int iCount = szUrl.Replace("/views/imgt1_anim", "/views/imgpsh_fullsize_anim");
+ if (!iCount)
+ iCount = szUrl.Replace("/views/imgt1", "/views/imgpsh_fullsize_anim");
+ if (iCount)
+ szText.AppendFormat("\r\n%s: %s", TranslateU("Full image"), szUrl.c_str());
}
}
}
|