mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-17 07:32:32 +00:00
* Made torrent::Piece part of the api.
* Made libtorrent locale agnostic. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@664 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -39,6 +39,7 @@
|
||||
#include <stdexcept>
|
||||
#include <rak/socket_address.h>
|
||||
#include <torrent/rate.h>
|
||||
#include <torrent/piece.h>
|
||||
|
||||
#include "core/download.h"
|
||||
#include "rak/algorithm.h"
|
||||
@@ -120,7 +121,7 @@ WindowPeerList::redraw() {
|
||||
x += 6;
|
||||
|
||||
if (p.incoming_queue_size())
|
||||
m_canvas->print(x, y, "%i", p.incoming_index(0));
|
||||
m_canvas->print(x, y, "%i", p.incoming_queue(0)->index());
|
||||
|
||||
x += 6;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user