diff options
-rw-r--r-- | bibletime/frontend/cinfodisplay.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bibletime/frontend/cinfodisplay.cpp b/bibletime/frontend/cinfodisplay.cpp index 7321a83..251ec83 100644 --- a/bibletime/frontend/cinfodisplay.cpp +++ b/bibletime/frontend/cinfodisplay.cpp @@ -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); |