mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-21 16:46:18 +00:00
* Store and display the encoding for the currently used filename.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@586 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -37,6 +37,7 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
#include <torrent/path.h>
|
||||||
|
|
||||||
#include "core/download.h"
|
#include "core/download.h"
|
||||||
#include "rak/algorithm.h"
|
#include "rak/algorithm.h"
|
||||||
@@ -107,12 +108,13 @@ WindowFileList::redraw() {
|
|||||||
break;
|
break;
|
||||||
};
|
};
|
||||||
|
|
||||||
m_canvas->print(0, pos, "%c %s %6.1f %s %3d",
|
m_canvas->print(0, pos, "%c %s %6.1f %s %3d %s",
|
||||||
range.first == *m_focus ? '*' : ' ',
|
range.first == *m_focus ? '*' : ' ',
|
||||||
path.c_str(),
|
path.c_str(),
|
||||||
(double)e.get_size() / (double)(1 << 20),
|
(double)e.get_size() / (double)(1 << 20),
|
||||||
priority.c_str(),
|
priority.c_str(),
|
||||||
done_percentage(e));
|
done_percentage(e),
|
||||||
|
e.path_list()->encoding().c_str());
|
||||||
|
|
||||||
++range.first;
|
++range.first;
|
||||||
++pos;
|
++pos;
|
||||||
|
|||||||
Reference in New Issue
Block a user