mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-13 13:42:30 +00:00
* Fixed the hashing so it properly starts and stops. When
DownloadList::pause is called it clears the "hashing" variable. * Added convenience functions for retriving torrent::Object key's of specific types. * Iterate to the first visible transfer in the chunks seen view. Patch by Josef Drexler. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@732 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -99,6 +99,9 @@ WindowDownloadChunksSeen::redraw() {
|
||||
|
||||
std::vector<torrent::BlockList*>::const_iterator itrTransfer = transferChunks.begin();
|
||||
|
||||
while (itrTransfer != transferChunks.end() && (uint32_t)(chunk - seen) > (*itrTransfer)->index())
|
||||
itrTransfer++;
|
||||
|
||||
for (int y = 1; y < m_canvas->get_height() && chunk < last; ++y) {
|
||||
m_canvas->print(0, y, "%5u ", (int)(chunk - seen));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user