From 4000b35d600ecd71733cb929c407e814309f3f49 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 6 Nov 2023 19:39:18 +0300 Subject: =?UTF-8?q?fixes=20#3854=20(PasteIt:=20=D1=81=D0=B4=D0=B5=D0=BB?= =?UTF-8?q?=D0=B0=D1=82=D1=8C=20"None"=20=D0=BF=D0=B5=D1=80=D0=B5=D0=B2?= =?UTF-8?q?=D0=BE=D0=B4=D0=B8=D0=BC=D1=8B=D0=BC)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/PasteIt/src/PasteIt.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/PasteIt/src/PasteIt.cpp') diff --git a/plugins/PasteIt/src/PasteIt.cpp b/plugins/PasteIt/src/PasteIt.cpp index 7091b635b1..3c2fdf7df8 100644 --- a/plugins/PasteIt/src/PasteIt.cpp +++ b/plugins/PasteIt/src/PasteIt.cpp @@ -90,7 +90,7 @@ std::wstring GetFile() static void PasteIt(MCONTACT hContact, int mode) { - PasteToWeb* pasteToWeb = pasteToWebs[Options::instance->defWeb]; + PasteToWeb *pasteToWeb = pasteToWebs[Options::instance->defWeb]; if (mode == FROM_CLIPBOARD) { pasteToWeb->FromClipboard(); } @@ -118,7 +118,7 @@ static void PasteIt(MCONTACT hContact, int mode) dbei.szModule = szProto; dbei.timestamp = (uint32_t)time(0); dbei.cbBlob = (uint32_t)mir_strlen(pasteToWeb->szFileLink) + 1; - dbei.pBlob = (uint8_t*)pasteToWeb->szFileLink; + dbei.pBlob = (uint8_t *)pasteToWeb->szFileLink; db_event_add(hContact, &dbei); ProtoChainSend(hContact, PSS_MESSAGE, 0, (LPARAM)pasteToWeb->szFileLink); } -- cgit v1.2.3