aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYour Name <you@example.com>2020-11-21 14:35:56 -0500
committerYour Name <you@example.com>2020-11-21 14:35:56 -0500
commitce9b24d267fadb83e97f24e7fd5d9443741478b3 (patch)
tree94b9f0325e475f02127b8acc50720ea7e73ea387
parent821ec1b72e341617a2ed1b95d6a7d18e8eebbc4b (diff)
downloadbiblereader-ce9b24d267fadb83e97f24e7fd5d9443741478b3.tar.gz
biblereader-ce9b24d267fadb83e97f24e7fd5d9443741478b3.tar.bz2
biblereader-ce9b24d267fadb83e97f24e7fd5d9443741478b3.zip
Updated to conform to libbible API changes
-rw-r--r--sword.cc2
1 files changed, 1 insertions, 1 deletions
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<Gtk::TextBuffer> 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);