Troy, I found it takes both of these conditions to cause the problem. key->Headings(true); book->setSkipConsecutiveLinks(true);
The program below outputs Malachi 1:1 Should BibleTime do something different or is this a sword issue. Gary #include <iostream> #include <swmgr.h> #include <swmodule.h> #include <versekey.h> using namespace sword; using namespace std; int main(int argc, char **argv) { const char *modName = "HunKar"; SWMgr library; SWModule *book = library.getModule(modName); if (!book) { cerr << "Can't find module: " << modName << endl; return -1; } VerseKey* key = ((VerseKey *)book->getKey()); key->Headings(true); book->setSkipConsecutiveLinks(true); book->setPosition(TOP); cout << *key << endl; return 0; }
_______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page