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 15:46:13 +0100
commit374417024147717d195e1830bb72d057995b0aa8 (patch)
treec8414c8f382fe353ea3ac46d2671fa09ae29665b /src/ks_gbfhtml.cpp
parentc582b3bf38f9d95e8af05b28a3d653e96ead5dea (diff)
downloadtdeio-sword-374417024147717d195e1830bb72d057995b0aa8.tar.gz
tdeio-sword-374417024147717d195e1830bb72d057995b0aa8.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]>
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++) {