[sword-devel] Bug in CVS: VerseKey::setLocale
Troy A. Griffitts
Sun, 18 Aug 2002 10:42:37 -0700
Yep, sounds like 'wrong' behaviour! :) I bet setLocale is not
propogating the locale change to it's bound keys. Please have a look if
you get a chance! Thanks!
Joachim Ansorg wrote:
> 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");
> here key.LowerBound() should return "Lukas 1:1", but it returns the english
> "Luke 1:1"
> //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
> I'd be glad for an answer!