Fix old Sword API FTBFS

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/bibletime@1173695 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 14 years ago
parent 9ba35d28ae
commit 75ebad37bc

@ -97,7 +97,7 @@ const QString CSwordVerseKey::book( const QString& newBook ) {
for (int testament = min; testament <= max && !finished; ++testament) {
for (int book = 0; book < BMAX[testament] && !finished; ++book) {
if ( !strcmp(newBook.toUtf8().constData(), books[testament][book].name ) ) {
if ( !strcmp(newBook.utf8().data(), books[testament][book].name ) ) {
Testament(testament+1);
Book(book+1);
finished = true;

Loading…
Cancel
Save