aboutsummaryrefslogtreecommitdiff
path: root/misc/tellico/files/patch-src-translators-alexandriaexporter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'misc/tellico/files/patch-src-translators-alexandriaexporter.cpp')
-rw-r--r--misc/tellico/files/patch-src-translators-alexandriaexporter.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/tellico/files/patch-src-translators-alexandriaexporter.cpp b/misc/tellico/files/patch-src-translators-alexandriaexporter.cpp
new file mode 100644
index 000000000000..8db988e1d4fa
--- /dev/null
+++ b/misc/tellico/files/patch-src-translators-alexandriaexporter.cpp
@@ -0,0 +1,11 @@
+--- src/translators/alexandriaexporter.cpp.orig Sat Oct 16 00:18:34 2004
++++ src/translators/alexandriaexporter.cpp Sat Oct 16 00:19:10 2004
+@@ -111,7 +111,7 @@
+ entry_->field(QString::fromLatin1("publisher"));
+ pub.replace('"', QString::fromLatin1("\\\""));
+ // publisher uses n/a when empty
+- ts << "publisher: \"" << (pub.isEmpty() ? "n/a" : pub) << "\"\n";
++ ts << "publisher: \"" << (pub.isEmpty() ? QString::fromLatin1("n/a") : pub) << "\"\n";
+ QString rating = entry_->field(QString::fromLatin1("rating"));
+ for(uint pos = 0; pos < rating.length(); ++pos) {
+ if(rating[pos].isDigit()) {