mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-11 16:49:22 +00:00
Fixed a mispelled name in utils::for_each_pre(...).
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@333 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -26,7 +26,7 @@ WindowDownloadList::redraw() {
|
||||
|
||||
typedef std::pair<DList::iterator, DList::iterator> Range;
|
||||
|
||||
Range range = utils::iterate_both_distance(m_list->begin(),
|
||||
Range range = utils::advance_bidirectional(m_list->begin(),
|
||||
*m_focus != m_list->end() ? *m_focus : m_list->begin(),
|
||||
m_list->end(),
|
||||
m_canvas->get_height() / 3);
|
||||
|
||||
@@ -37,7 +37,7 @@ WindowFileList::redraw() {
|
||||
|
||||
typedef std::pair<unsigned int, unsigned int> Range;
|
||||
|
||||
Range range = utils::iterate_both_distance<unsigned int>(0, *m_focus, m_download->get_download().get_entry_size(),
|
||||
Range range = utils::advance_bidirectional<unsigned int>(0, *m_focus, m_download->get_download().get_entry_size(),
|
||||
m_canvas->get_height());
|
||||
|
||||
while (range.first != range.second) {
|
||||
|
||||
@@ -42,7 +42,7 @@ WindowPeerList::redraw() {
|
||||
|
||||
typedef std::pair<PList::iterator, PList::iterator> Range;
|
||||
|
||||
Range range = utils::iterate_both_distance(m_list->begin(),
|
||||
Range range = utils::advance_bidirectional(m_list->begin(),
|
||||
*m_focus != m_list->end() ? *m_focus : m_list->begin(),
|
||||
m_list->end(),
|
||||
m_canvas->get_height() - y);
|
||||
|
||||
Reference in New Issue
Block a user