mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-15 14:42:30 +00:00
* The "tos" option was parsing the hex value with unit == 0, which
caused it to always zero it. * Split the chunks in the transfer list to fit the display. Patch by Josef Drexler. * Forgot to check if there were any torrents hashing before starting new non-fast-resume checks, which would cause multiple torrents to be hashed at once. * File progress is now updated when hash_check is called, and no longer cleared on close. This fixes a bug with >100% file progress being reported and optimizes file progress updating for completed torrents. * Disabled IPv6 http requests so the trackers won't think we support it. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@857 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -78,6 +78,13 @@ WindowDownloadTransferList::redraw() {
|
||||
|
||||
// Handle window size.
|
||||
for (torrent::BlockList::const_iterator bItr = (*itr)->begin(), bLast = (*itr)->end(); bItr != bLast; ++bItr) {
|
||||
if (m_canvas->get_x() >= m_canvas->width() - 1) {
|
||||
if (++y >= m_canvas->height())
|
||||
break;
|
||||
|
||||
m_canvas->move(17, y);
|
||||
}
|
||||
|
||||
char id;
|
||||
chtype attr = A_NORMAL;
|
||||
|
||||
@@ -100,7 +107,7 @@ WindowDownloadTransferList::redraw() {
|
||||
attr |= A_UNDERLINE;
|
||||
|
||||
m_canvas->print_char(attr | id);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user