From 1a1c060ba379c67dfc71e549f9a38f7e00c416fd Mon Sep 17 00:00:00 2001
From: Arvid Norberg
Date: Sat, 25 Aug 2007 20:01:53 +0000
Subject: [PATCH] fixed doc typos
---
docs/manual.html | 4 +++-
docs/manual.rst | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/docs/manual.html b/docs/manual.html
index b5b928c77..d151db4d4 100644
--- a/docs/manual.html
+++ b/docs/manual.html
@@ -956,6 +956,8 @@ public:
typedef std::vector<file_entry>::const_reverse_iterator
reverse_file_iterator;
+ bool remap_files(std::vector<std::pair<std::string, libtorrent::size_type> > const& map);
+
file_iterator begin_files(bool storage = false) const;
file_iterator end_files(bool storage = false) const;
reverse_file_iterator rbegin_files(bool storage = false) const;
@@ -1117,7 +1119,7 @@ torrent, all the files starts with a directory with the same name as size is the size of the file (in bytes) and offset is the byte offset
of the file within the torrent. i.e. the sum of all the sizes of the files
-before this one in the file list this one in the file list.
+before it in the list.
orig_path is set to 0 in case the path element is an exact copy of that
found in the metadata. In case the path in the original metadata was
incorrectly encoded, and had to be fixed in order to be acceptable utf-8,
diff --git a/docs/manual.rst b/docs/manual.rst
index 98ba002ce..2d1f59214 100644
--- a/docs/manual.rst
+++ b/docs/manual.rst
@@ -855,6 +855,8 @@ The ``torrent_info`` has the following synopsis::
typedef std::vector::const_reverse_iterator
reverse_file_iterator;
+ bool remap_files(std::vector > const& map);
+
file_iterator begin_files(bool storage = false) const;
file_iterator end_files(bool storage = false) const;
reverse_file_iterator rbegin_files(bool storage = false) const;
@@ -1038,7 +1040,7 @@ The filenames are encoded with UTF-8.
``size`` is the size of the file (in bytes) and ``offset`` is the byte offset
of the file within the torrent. i.e. the sum of all the sizes of the files
-before this one in the file list this one in the file list.
+before it in the list.
``orig_path`` is set to 0 in case the path element is an exact copy of that
found in the metadata. In case the path in the original metadata was