diff options
author | Fritz Elfert <felfert@to.com> | 2001-05-28 23:05:16 +0000 |
---|---|---|
committer | Fritz Elfert <felfert@to.com> | 2001-05-28 23:05:16 +0000 |
commit | f7376f6d818d8b2c726bcc0f72687e55cb8bf981 (patch) | |
tree | d10fd9588fe8d74dbc501793cd4a0ed8608b4665 /kde2 | |
parent | db9052a49804fef2ab0103d72f45bee5156c2b19 (diff) | |
download | plptools-f7376f6d818d8b2c726bcc0f72687e55cb8bf981.tar.gz plptools-f7376f6d818d8b2c726bcc0f72687e55cb8bf981.tar.bz2 plptools-f7376f6d818d8b2c726bcc0f72687e55cb8bf981.zip |
Added terminating 0 to text clibd data to prevent a bug in Word.
Diffstat (limited to 'kde2')
-rw-r--r-- | kde2/klipsi/toplevel.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kde2/klipsi/toplevel.cpp b/kde2/klipsi/toplevel.cpp index 614c810..92e209e 100644 --- a/kde2/klipsi/toplevel.cpp +++ b/kde2/klipsi/toplevel.cpp @@ -324,7 +324,8 @@ putClipText(char *data) { // Data b.addDWord(strlen(data)); // @1e Section (String) length - b.addString(data); // @22 Data + b.addStringT(data); // @22 Data (Psion Word seems to need a + // terminating 0. p = (const unsigned char *)b.getString(0); rf->fwrite(fh, p, b.getLen(), l); |