aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);