aboutsummaryrefslogtreecommitdiff
path: root/bible.cc
diff options
context:
space:
mode:
authorYour Name <you@example.com>2020-11-21 14:33:33 -0500
committerYour Name <you@example.com>2020-11-21 14:33:33 -0500
commit51734065a38cf6db48fe9fb4b16461ce424cad90 (patch)
tree9abea3db7c02d7eb957256062f8a71d6a7672e35 /bible.cc
parentdcfac3432f981191da68f14f21f5010fc4da51c0 (diff)
downloadlibbible-51734065a38cf6db48fe9fb4b16461ce424cad90.tar.gz
libbible-51734065a38cf6db48fe9fb4b16461ce424cad90.tar.bz2
libbible-51734065a38cf6db48fe9fb4b16461ce424cad90.zip
Updated API to be more explicit with references
Diffstat (limited to 'bible.cc')
-rw-r--r--bible.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bible.cc b/bible.cc
index 0bcd9f1..2a282c7 100644
--- a/bible.cc
+++ b/bible.cc
@@ -181,7 +181,7 @@ int main(int argc, char* argv[]) {
return 0;
}
- auto text = libbible::getText(libbible::passage{.modName = modname, .reference = reference});
+ auto text = libbible::getText(libbible::getPassage(modname, reference));
int chapter = 0;
int verse = 0;
const char* indent = " ";