diff options
author | Vincent Richard <[email protected]> | 2004-12-19 11:44:13 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2004-12-19 11:44:13 +0000 |
commit | 5a1b86bbeb3a1f87c72833989e9987d7d5b8ca38 (patch) | |
tree | e20cdd7c70b791cc9807917b21c7ec96064e6bec | |
parent | Fixed bugs in scanFolder() and fileIterator. (diff) | |
download | vmime-5a1b86bbeb3a1f87c72833989e9987d7d5b8ca38.tar.gz vmime-5a1b86bbeb3a1f87c72833989e9987d7d5b8ca38.zip |
Fixed bug with message index in getMessageFSPath().
-rw-r--r-- | src/messaging/maildirFolder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |