summaryrefslogtreecommitdiff
path: root/packages/opie-reader/files
diff options
context:
space:
mode:
authorMichael Krelin <hacker@klever.net>2007-05-30 10:01:45 +0000
committerMichael Krelin <hacker@klever.net>2007-05-30 10:01:45 +0000
commitc4d2a1e3fc39b16f04c2703889c3be672720578e (patch)
tree2180beff31241728683e403495fb33f4b1e88349 /packages/opie-reader/files
parent15fcad01c1b74e413dd6633ac6d2365726e12701 (diff)
opie-reader: fix copying of unicode text blocks, since upstream isn't likely to incorporate this one-liner patch anytime soon.
Diffstat (limited to 'packages/opie-reader/files')
-rw-r--r--packages/opie-reader/files/.mtn2git_empty0
-rw-r--r--packages/opie-reader/files/opie-reader-unicode-copy.patch11
2 files changed, 11 insertions, 0 deletions
diff --git a/packages/opie-reader/files/.mtn2git_empty b/packages/opie-reader/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/opie-reader/files/.mtn2git_empty
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);