aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/icu/Converter.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-11-30 19:08:30 +0100
committerMax Kellermann <max@duempel.org>2014-11-30 19:08:38 +0100
commit0f35016773354b8aa2de98101e25bbe84e534797 (patch)
treec6db016b75074ab66d26ae89c2916f1a70047a25 /src/lib/icu/Converter.cxx
parentc641ca90a99bd9f7f5e62bea0b84766b948c6db3 (diff)
downloadmpd-0f35016773354b8aa2de98101e25bbe84e534797.tar.gz
mpd-0f35016773354b8aa2de98101e25bbe84e534797.tar.xz
mpd-0f35016773354b8aa2de98101e25bbe84e534797.zip
lib/icu/Converter: add TODO comment
Diffstat (limited to 'src/lib/icu/Converter.cxx')
-rw-r--r--src/lib/icu/Converter.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/icu/Converter.cxx b/src/lib/icu/Converter.cxx
index 7378f8636..1c6874065 100644
--- a/src/lib/icu/Converter.cxx
+++ b/src/lib/icu/Converter.cxx
@@ -51,6 +51,7 @@ IcuConverter::Create(const char *charset, Error &error)
static std::string
DoConvert(GIConv conv, const char *src)
{
+ // TODO: dynamic buffer?
char buffer[4096];
char *in = const_cast<char *>(src);
char *out = buffer;