[sword-devel] About bugs and changes in API
sword-devel@crosswire.org
sword-devel@crosswire.org
Sun, 01 Sep 2002 15:36:46 +0600
I used the following method to check whether an entry with given key is
present in a given module (SWLD):
module->SetKey(keystr);
module->getRawEntry();
//keys_equal() takes in account such things as upper/lower case and
numeric keys
if ( keys_equal(keystr, module->KeyText()) ) {
entry_is_new = false;
} else {
entry_is_new = true;
}
Now it does not work (always entry_is_new = false).
Now I need a new method to check whether an entry is new. Please point me a
method.
Seemingly after knowing such a method, I will be able to found a few more bugs
in the library!
--
Victor Porton (porton@ex-code.com)