diff options
author | Slávek Banko <[email protected]> | 2019-01-12 15:46:13 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2019-01-12 17:36:42 +0100 |
commit | fed195cae2cb376b3205e176f7a61c401bf00ace (patch) | |
tree | 85a78fcd94d1dd6dd1a20a23da466bc4dd5a62ab /src/ks_gbfhtml.cpp | |
parent | f938ddefb96507d85e76252b1824772172ee0a19 (diff) | |
download | tdeio-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.cpp | 2 |
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++) { |