Fixed bug with message index in getMessageFSPath().

This commit is contained in:
Vincent Richard 2004-12-19 11:44:13 +00:00
parent 510979b5ef
commit 5a1b86bbeb

View File

@ -984,7 +984,7 @@ const utility::file::path maildirFolder::getMessageFSPath(const int number)
utility::file::path curDirPath = maildirUtils::getFolderFSPath utility::file::path curDirPath = maildirUtils::getFolderFSPath
(m_store, m_path, maildirUtils::FOLDER_PATH_CUR); (m_store, m_path, maildirUtils::FOLDER_PATH_CUR);
return (curDirPath / m_messageInfos[number].path); return (curDirPath / m_messageInfos[number - 1].path);
} }