* 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:
rakshasa
2005-10-25 20:15:26 +00:00
parent eb8fecbc34
commit 7e861cf9f2
+4 -2
View File
@@ -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;