From c4d2a1e3fc39b16f04c2703889c3be672720578e Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Wed, 30 May 2007 10:01:45 +0000 Subject: opie-reader: fix copying of unicode text blocks, since upstream isn't likely to incorporate this one-liner patch anytime soon. --- packages/opie-reader/files/.mtn2git_empty | 0 packages/opie-reader/files/opie-reader-unicode-copy.patch | 11 +++++++++++ 2 files changed, 11 insertions(+) create mode 100644 packages/opie-reader/files/.mtn2git_empty create mode 100644 packages/opie-reader/files/opie-reader-unicode-copy.patch (limited to 'packages/opie-reader/files') diff --git a/packages/opie-reader/files/.mtn2git_empty b/packages/opie-reader/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/opie-reader/files/opie-reader-unicode-copy.patch b/packages/opie-reader/files/opie-reader-unicode-copy.patch new file mode 100644 index 0000000000..d7d1ae24bd --- /dev/null +++ b/packages/opie-reader/files/opie-reader-unicode-copy.patch @@ -0,0 +1,11 @@ +--- opie-reader/QTReaderApp.cpp.orig 2005-05-18 00:48:25.000000000 +0200 ++++ opie-reader/QTReaderApp.cpp 2006-04-08 15:55:43.000000000 +0200 +@@ -2558,7 +2558,7 @@ + reader->jumpto(m_savedpos); + while (reader->explocate() < endpos && (ch = reader->getch()) != UEOF) + { +- text += ch; ++ text += QChar(ch); + } + cb->setText(text); + reader->locate(currentpos); -- cgit v1.2.3