From ce9b24d267fadb83e97f24e7fd5d9443741478b3 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 21 Nov 2020 14:35:56 -0500 Subject: Updated to conform to libbible API changes --- sword.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sword.cc b/sword.cc index 0bf20e2..1487cd1 100644 --- a/sword.cc +++ b/sword.cc @@ -46,7 +46,7 @@ void Sword::fillBuffer(string ref, Glib::RefPtr buf) { return; } - auto texts = libbible::getText(libbible::passage{.modName = defaultMod, .reference = ref}); + auto texts = libbible::getText(libbible::getPassage(defaultMod, ref)); auto iter = buf->get_iter_at_offset(0); -- cgit v1.2.3