From 8afd6543130de3537680fa111fb3e79d7c2998c6 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 15 Mar 2024 19:51:55 +0300 Subject: nasty crutch for adding zero pointer into OBJLIST --- src/mir_app/src/utils.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mir_app/src/utils.cpp b/src/mir_app/src/utils.cpp index 0365b44179..1726dcc5ec 100644 --- a/src/mir_app/src/utils.cpp +++ b/src/mir_app/src/utils.cpp @@ -362,6 +362,9 @@ bool ProcessFileDrop(HDROP hDrop, MCONTACT hContact) AddToFileList(arFiles, szFilename); } + arFiles.insert(L""); + arFiles.put(arFiles.getCount() - 1, 0); + File::Send(hContact, arFiles.getArray()); return true; } -- cgit v1.2.3