summaryrefslogtreecommitdiff
path: root/src/sel_items_adder.cpp
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2012-10-05 20:50:14 +0200
committerAndrzej Rybczak <electricityispower@gmail.com>2012-10-05 20:58:07 +0200
commit044464962c9ccbf9ff017379e67724ce58553b60 (patch)
tree5c4ac5252f73bc32c3670170a99d2903d00121fb /src/sel_items_adder.cpp
parente40edade0e005a28f7db0a7e6dc51a2acb734aae (diff)
initial restoration of support for encodings different than utf-8
Diffstat (limited to 'src/sel_items_adder.cpp')
-rw-r--r--src/sel_items_adder.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sel_items_adder.cpp b/src/sel_items_adder.cpp
index ec275992..4b998584 100644
--- a/src/sel_items_adder.cpp
+++ b/src/sel_items_adder.cpp
@@ -30,6 +30,7 @@
#include "statusbar.h"
#include "utility/comparators.h"
#include "screen_switcher.h"
+#include "charset.h"
SelectedItemsAdder *mySelectedItemsAdder;
@@ -37,7 +38,7 @@ namespace {//
void DisplayComponent(SelectedItemsAdder::Component &menu)
{
- menu << menu.drawn()->value().item();
+ menu << Charset::utf8ToLocale(menu.drawn()->value().item());
}
}