mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-06 06:09:22 +00:00
Task Scheduler, log viewer pops up and disapperes. good good
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@308 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -34,13 +34,13 @@ WindowDownloadList::redraw() {
|
||||
int i = 0;
|
||||
itr = last = *m_focus;
|
||||
|
||||
while (i < m_canvas->get_height() - y && !(itr == m_list->begin() && last == m_list->end())) {
|
||||
while (i < m_canvas->get_height() - y - 3 && !(itr == m_list->begin() && last == m_list->end())) {
|
||||
if (last != m_list->end()) {
|
||||
++last;
|
||||
i += 3;
|
||||
}
|
||||
|
||||
if (itr != m_list->begin() && i < m_canvas->get_height() - y) {
|
||||
if (itr != m_list->begin() && i < m_canvas->get_height() - y - 3) {
|
||||
--itr;
|
||||
i += 3;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user