summaryrefslogtreecommitdiffstats
path: root/src/ks_gbfhtml.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2019-01-12 15:46:13 +0100
committerSlávek Banko <[email protected]>2019-01-12 17:36:42 +0100
commitfed195cae2cb376b3205e176f7a61c401bf00ace (patch)
tree85a78fcd94d1dd6dd1a20a23da466bc4dd5a62ab /src/ks_gbfhtml.cpp
parentf938ddefb96507d85e76252b1824772172ee0a19 (diff)
downloadtdeio-sword-fed195cae2cb376b3205e176f7a61c401bf00ace.tar.gz
tdeio-sword-fed195cae2cb376b3205e176f7a61c401bf00ace.zip
Added controlled conversions to char* instead of automatic ascii conversions.
The definition of -UTQT_NO_ASCII_CAST is no longer needed. Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 374417024147717d195e1830bb72d057995b0aa8)
Diffstat (limited to 'src/ks_gbfhtml.cpp')
-rw-r--r--src/ks_gbfhtml.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ks_gbfhtml.cpp b/src/ks_gbfhtml.cpp
index 6342ba4..f8f2a8d 100644
--- a/src/ks_gbfhtml.cpp
+++ b/src/ks_gbfhtml.cpp
@@ -159,7 +159,7 @@ namespace KioSword {
else if (!strcmp(tag.getName(), "RX")) {
buf += "<a href=\"";
- buf += swordUrlForSearch(DEFBIBLE, token + 3, m_swordoptions);
+ buf += swordUrlForSearch(DEFBIBLE, token + 3, m_swordoptions).utf8();
/* FIXME - restore this, work out what it does
for (tok = token + 3; *tok; tok++) {