diff options
Diffstat (limited to 'redhat/applications/bibletime/bibletime-3.5.13-fix_gcc47_compilation.patch')
-rw-r--r-- | redhat/applications/bibletime/bibletime-3.5.13-fix_gcc47_compilation.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/redhat/applications/bibletime/bibletime-3.5.13-fix_gcc47_compilation.patch b/redhat/applications/bibletime/bibletime-3.5.13-fix_gcc47_compilation.patch new file mode 100644 index 000000000..aca2be126 --- /dev/null +++ b/redhat/applications/bibletime/bibletime-3.5.13-fix_gcc47_compilation.patch @@ -0,0 +1,13 @@ +--- bibletime/bibletime/frontend/cinfodisplay.cpp.ORI 2012-05-01 14:13:38.750903801 +0200 ++++ bibletime/bibletime/frontend/cinfodisplay.cpp 2012-05-01 14:14:59.998011927 +0200 +@@ -229,8 +229,8 @@ + 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); + |