summarylogtreecommitdiffstats
path: root/qchar.patch
diff options
context:
space:
mode:
authorFrank Siegert2017-05-09 16:21:00 +0200
committerFrank Siegert2017-05-09 16:21:06 +0200
commitc282e8c9d56903a14496b9a26feef5df0db52709 (patch)
tree9e10420203acd8cdbe07b45b700e0fdd80da8361 /qchar.patch
parentb40781cf0001610b3817117e4f13e0599f456f06 (diff)
downloadaur-c282e8c9d56903a14496b9a26feef5df0db52709.tar.gz
Update to 1.3.5-2: Fix compilation with most recent openssl and Qt versions.
Diffstat (limited to 'qchar.patch')
-rw-r--r--qchar.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/qchar.patch b/qchar.patch
new file mode 100644
index 000000000000..c9f6bff1b93a
--- /dev/null
+++ b/qchar.patch
@@ -0,0 +1,12 @@
+diff -u -ubr a/src/core/UBTextTools.cpp b/src/core/UBTextTools.cpp
+--- a/src/core/UBTextTools.cpp 2017-05-09 15:59:42.177965830 +0200
++++ b/src/core/UBTextTools.cpp 2017-05-09 16:00:08.547747097 +0200
+@@ -34,7 +34,7 @@
+
+
+ for(int i = 0; i < _html.length(); i+=1){
+- if(_html.at(i) != '\0')
++ if(_html.at(i) != QChar('\0'))
+ clean.append(_html.at(i));
+ }
+ return clean;