From 90da2164f2dc859bf960f8bf77648b055a659194 Mon Sep 17 00:00:00 2001 From: Alexander Batalov Date: Tue, 6 Dec 2022 17:13:48 +0300 Subject: [PATCH] Fix assignment --- src/message.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/message.cc b/src/message.cc index 3f68667..b703576 100644 --- a/src/message.cc +++ b/src/message.cc @@ -763,7 +763,7 @@ int messageListRepositoryAddExtra(int messageListId, const char* path) } if (messageListId == 0) { - messageListId == _messageListRepositoryState->nextTemporaryMessageListId++; + messageListId = _messageListRepositoryState->nextTemporaryMessageListId++; } _messageListRepositoryState->temporaryMessageLists[messageListId] = messageList;