diff --git a/bibletime/frontend/cinfodisplay.cpp b/bibletime/frontend/cinfodisplay.cpp index f321ccd..0fd615f 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(key);