From eaee27dace9547aaa03bb25bcb2605b1c2f22c4d Mon Sep 17 00:00:00 2001
From: ElzorFox <elzorfox@ya.ru>
Date: Mon, 27 Nov 2023 16:07:29 +0500
Subject: Vkontakte: code cleaning

---
 protocols/VKontakte/src/vk_history.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'protocols')

diff --git a/protocols/VKontakte/src/vk_history.cpp b/protocols/VKontakte/src/vk_history.cpp
index 4604a99231..4e967f319e 100644
--- a/protocols/VKontakte/src/vk_history.cpp
+++ b/protocols/VKontakte/src/vk_history.cpp
@@ -225,7 +225,7 @@ void CVkProto::OnReceiveHistoryMessages(NETLIBHTTPREQUEST *reply, AsyncHttpReque
 		if (iLastMsgId < iMessageId)
 			iLastMsgId = iMessageId;
 
-		char szMid[40], szReplyId[40] = "";;
+		char szMid[40], szReplyId[40] = "";
 		_ltoa(iMessageId, szMid, 10);
 
 		CMStringW wszBody(jnMsg["text"].as_mstring());
@@ -251,7 +251,8 @@ void CVkProto::OnReceiveHistoryMessages(NETLIBHTTPREQUEST *reply, AsyncHttpReque
 				if (!wszBody.IsEmpty())
 					wszReplyMessages = L"\n" + wszReplyMessages;
 				wszBody += wszReplyMessages;
-			} else if (jnReplyMessages["id"])
+			} 
+			else if (jnReplyMessages["id"])
 				_ltoa(jnReplyMessages["id"].as_int(), szReplyId, 10);
 
 		const JSONNode &jnAttachments = jnMsg["attachments"];
-- 
cgit v1.2.3