From 24b5afcde7cfe2a274cf64008a867189a89c7fea Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 2 Sep 2013 18:14:23 +0000 Subject: MRA: fix for setting MirVer git-svn-id: http://svn.miranda-ng.org/main/trunk@5903 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/MRA/src/Mra_proto.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/MRA/src/Mra_proto.cpp') diff --git a/protocols/MRA/src/Mra_proto.cpp b/protocols/MRA/src/Mra_proto.cpp index 3acf1035f2..26f1aceb66 100644 --- a/protocols/MRA/src/Mra_proto.cpp +++ b/protocols/MRA/src/Mra_proto.cpp @@ -1340,7 +1340,7 @@ bool CMraProto::CmdClist2(BinBuffer &buf) SetExtraIcons(hContact); if (dwTemp != ID_STATUS_OFFLINE) { // пишем клиента только если юзер не отключён, иначе не затираем старое - if (szUserAgentFormatted.GetLength()) { + if ( !szUserAgentFormatted.IsEmpty()) { if (getByte("MirVerRaw", MRA_DEFAULT_MIRVER_RAW) == FALSE) szUserAgentFormatted = MraGetVersionStringFromFormatted(szUserAgentFormatted); } -- cgit v1.2.3