Browse Source

GCC 4.7 fixes.

Thanks to Francois Andriot.
(cherry picked from commit f40c4c8419)
tags/v3.5.13.1
Darrell Anderson 7 years ago
parent
commit
2464051613
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      bibletime/frontend/cinfodisplay.cpp

+ 2
- 2
bibletime/frontend/cinfodisplay.cpp View File

@@ -229,8 +229,8 @@ namespace InfoDisplay {
VerseKey vk;
sword::ListKey refs = vk.ParseVerseList((const char*)data.mid((pos == -1) ? 0 : pos+1).utf8(), "Gen 1:1", true);

for (int i = 0; i < refs.Count(); ++i) {
SWKey* key = refs.getElement(i);
for (int j = 0; j < refs.Count(); ++j) {
SWKey* key = refs.getElement(j);
Q_ASSERT(key);
VerseKey* vk = dynamic_cast<VerseKey*>(key);


Loading…
Cancel
Save