~bibledit/bibledit/ubuntu-cloud

« back to all changes in this revision

Viewing changes to sword/logic.cpp

  • Committer: Teus Benschop
  • Date: 2022-11-13 10:10:35 UTC
  • Revision ID: teusjannette@gmail.com-20221113101035-tfpqtklwoj31b306
new upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
#endif
42
42
#include <developer/logic.h>
43
43
#include <database/logic.h>
 
44
using namespace std;
44
45
 
45
46
 
46
47
mutex sword_logic_installer_mutex;
419
420
  string module_text;
420
421
  bool module_available = false;
421
422
 
422
 
  string osis = database::books::get_osis_from_id (book);
 
423
  string osis = database::books::get_osis_from_id_v1 (book);
423
424
  string chapter_verse = convert_to_string (chapter) + ":" + convert_to_string (verse);
424
425
 
425
426
  // See notes on function sword_logic_diatheke
490
491
  }
491
492
 
492
493
  // The name of the book to pass to diatheke.
493
 
  string osis = database::books::get_osis_from_id (book);
 
494
  string osis = database::books::get_osis_from_id_v1 (book);
494
495
 
495
496
  // Cannot run more than one "diatheke" per user, so use a mutex for that.
496
497
  sword_logic_diatheke_run_mutex.lock ();