Skip to content

Commit

Permalink
resolve #888 update biblesync version and Transmit() calls
Browse files Browse the repository at this point in the history
  • Loading branch information
karlkleinpaste committed Apr 19, 2018
1 parent 8226dcf commit 16ef25b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions src/main/biblesync_glue.cc
Original file line number Diff line number Diff line change
Expand Up @@ -812,8 +812,7 @@ void biblesync_transmit_verse_list(char *modname, char *vlist)
// see comment below in biblesync_prep_and_xmit() on abbreviation use.
const char *abbreviation = main_get_abbreviation(modname);

biblesync->Transmit(BSP_SYNC,
(abbreviation
biblesync->Transmit((abbreviation
? (string)abbreviation
: (string)modname),
(string)vlist);
Expand Down Expand Up @@ -889,8 +888,7 @@ void biblesync_prep_and_xmit(const char *mod_name, const char *key)
// interoperability with non-Sword apps requires that
// we attempt to be locally friendly in name use.

biblesync->Transmit(BSP_SYNC,
(string)(abbreviation
biblesync->Transmit((string)(abbreviation
? abbreviation
: mod_name),
(string)osis_key,
Expand Down
2 changes: 1 addition & 1 deletion wscript
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ def configure(conf):
env.append_value('ALL_LIBS', 'ICUI18N')

conf.check_cfg(package='biblesync',
args='"biblesync >= 1.1.2" --cflags --libs',
args='"biblesync >= 1.2.0" --cflags --libs',
uselib_store='BIBLESYNC',
errmsg='fail',
mandatory=True)
Expand Down

0 comments on commit 16ef25b

Please sign in to comment.