mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-13 13:42:30 +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 <stdexcept>
|
||||
#include <torrent/path.h>
|
||||
|
||||
#include "core/download.h"
|
||||
#include "rak/algorithm.h"
|
||||
@@ -107,12 +108,13 @@ WindowFileList::redraw() {
|
||||
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 ? '*' : ' ',
|
||||
path.c_str(),
|
||||
(double)e.get_size() / (double)(1 << 20),
|
||||
priority.c_str(),
|
||||
done_percentage(e));
|
||||
done_percentage(e),
|
||||
e.path_list()->encoding().c_str());
|
||||
|
||||
++range.first;
|
||||
++pos;
|
||||
|
||||
Reference in New Issue
Block a user