From 5a1b86bbeb3a1f87c72833989e9987d7d5b8ca38 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Sun, 19 Dec 2004 11:44:13 +0000 Subject: [PATCH] Fixed bug with message index in getMessageFSPath(). --- src/messaging/maildirFolder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/messaging/maildirFolder.cpp b/src/messaging/maildirFolder.cpp index bf3dccd9..7ce56623 100644 --- a/src/messaging/maildirFolder.cpp +++ b/src/messaging/maildirFolder.cpp @@ -984,7 +984,7 @@ const utility::file::path maildirFolder::getMessageFSPath(const int number) utility::file::path curDirPath = maildirUtils::getFolderFSPath (m_store, m_path, maildirUtils::FOLDER_PATH_CUR); - return (curDirPath / m_messageInfos[number].path); + return (curDirPath / m_messageInfos[number - 1].path); }