[sword-devel] Bug in CVS: VerseKey::setLocale

Joachim Ansorg sword-devel@crosswire.org
Sun, 18 Aug 2002 16:15:39 +0200


Troy,
	I'm sorry for ot reporting this earlier. 
Consider this piece of code:

//we assume the english locale default
	VerseKey key("Luke 1:1", "John");
	key.setLocale("de");
	/*
 	here key.LowerBound() should return "Lukas 1:1", but it returns the english 		   
"Luke 1:1"
	*/
	kes.LowerBound().setLocale("en");

	//key.LowerBound() returns now the correct "Lukas 1:1"
	//the same behaviour is valid for UpperBound()

Is this wrong behaviour so I can try to fix this or shouldn't I touch this 
"feature"?

I'd be glad for an answer!
Joachim