[sword-devel] BUG in VerseKey::ParseVerseList

Joachim Ansorg sword-devel@crosswire.org
Tue, 5 Mar 2002 16:18:32 +0100

	sorry for bugging you all the time. I found another bug in Sword. See the 
following small program:

#include <swmgr.h>
#include <localemgr.h>
#include <swmodule.h>
#include <listkey.h>

int main(int argc, char* argv[]) {

        VerseKey k;
        ListKey list = k.ParseVerseList("Luke 3:23-28",k, true);

k.ParseVerseList does not return, IMHO an infinite loop. But this does only 
occur if the main language of Sword (here: "de") and the language of the 
VerseKey are different (here "en"). 

Thank you for being so kind with me all the time.