summaryrefslogtreecommitdiffstats
path: root/src/notedrag.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/notedrag.cpp')
-rw-r--r--src/notedrag.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/notedrag.cpp b/src/notedrag.cpp
index 67b45a3..3b4ad3d 100644
--- a/src/notedrag.cpp
+++ b/src/notedrag.cpp
@@ -571,8 +571,8 @@ bool ExtendedTextDrag::decode(const TQMimeSource *e, TQString &str, TQCString &s
str = TQTextCodec::codecForName("utf8")->toUnicode(utf8);
return true;
}
- if (e->provides("text/tqunicode")) { // FIXME: It's UTF-16 without order bytes!!!
- TQByteArray utf16 = e->encodedData("text/tqunicode");
+ if (e->provides("text/unicode")) { // FIXME: It's UTF-16 without order bytes!!!
+ TQByteArray utf16 = e->encodedData("text/unicode");
str = TQTextCodec::codecForName("utf16")->toUnicode(utf16);
return true;
}