aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2004-12-19 11:44:13 +0000
committerVincent Richard <[email protected]>2004-12-19 11:44:13 +0000
commit5a1b86bbeb3a1f87c72833989e9987d7d5b8ca38 (patch)
treee20cdd7c70b791cc9807917b21c7ec96064e6bec
parentFixed bugs in scanFolder() and fileIterator. (diff)
downloadvmime-5a1b86bbeb3a1f87c72833989e9987d7d5b8ca38.tar.gz
vmime-5a1b86bbeb3a1f87c72833989e9987d7d5b8ca38.zip
Fixed bug with message index in getMessageFSPath().
-rw-r--r--src/messaging/maildirFolder.cpp2
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);
}