From c1918e3cc32b2f77ddb18f9d55804067c78399e8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 2 Jan 2023 17:31:30 +0300 Subject: =?UTF-8?q?fixes=20#3291=20(Twitter:=20=D0=BF=D0=B5=D1=80=D0=B5?= =?UTF-8?q?=D1=81=D1=82=D0=B0=D0=BB=D0=B8=20=D0=BF=D1=80=D0=BE=D0=B3=D1=80?= =?UTF-8?q?=D1=83=D0=B6=D0=B0=D1=82=D1=8C=D1=81=D1=8F=20=D0=B0=D0=B2=D0=B0?= =?UTF-8?q?=D1=82=D0=B0=D1=80=D0=BA=D0=B8)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protocols/Twitter/src/connection.cpp | 2 +- protocols/Twitter/src/version.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Twitter/src') diff --git a/protocols/Twitter/src/connection.cpp b/protocols/Twitter/src/connection.cpp index 78a7e9be4f..f2622b29fa 100644 --- a/protocols/Twitter/src/connection.cpp +++ b/protocols/Twitter/src/connection.cpp @@ -291,7 +291,7 @@ void CTwitterProto::UpdateAvatarWorker(void *p) if (username.IsEmpty()) return; - CMStringA ext = data->url.Right(data->url.ReverseFind('.')); // finds the filetype of the avatar + CMStringA ext = data->url.Mid(data->url.ReverseFind('.')); // finds the filetype of the avatar CMStringW filename(FORMAT, L"%s\\%S%S", GetAvatarFolder().c_str(), username.c_str(), ext.c_str()); // local filename and path PROTO_AVATAR_INFORMATION ai = { 0 }; diff --git a/protocols/Twitter/src/version.h b/protocols/Twitter/src/version.h index 4363379992..de7fb6516b 100644 --- a/protocols/Twitter/src/version.h +++ b/protocols/Twitter/src/version.h @@ -1,7 +1,7 @@ #define __MAJOR_VERSION 1 #define __MINOR_VERSION 3 #define __RELEASE_NUM 1 -#define __BUILD_NUM 6 +#define __BUILD_NUM 7 #include -- cgit v1.2.3