diff options
author | Roberto C. Sanchez <roberto@connexer.com> | 2014-05-12 08:21:30 -0400 |
---|---|---|
committer | Roberto C. Sanchez <roberto@connexer.com> | 2014-05-12 08:21:30 -0400 |
commit | 7a00574163029c0c2b649878c95d5acbd083564a (patch) | |
tree | c13cc5736025834df2874ed87ee8598070025ea6 /utilities/addgb.cpp | |
parent | b745315323de9f27538edac9453205ca70e6186e (diff) |
Imported Upstream version 1.7.2+dfsg
Diffstat (limited to 'utilities/addgb.cpp')
-rw-r--r-- | utilities/addgb.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/utilities/addgb.cpp b/utilities/addgb.cpp index 41c99fa..5aef649 100644 --- a/utilities/addgb.cpp +++ b/utilities/addgb.cpp @@ -1,5 +1,11 @@ -/* - * Copyright 2009 CrossWire Bible Society (http://www.crosswire.org) +/****************************************************************************** + * + * addgb.cpp - Utility to create/modify a GenBook module by adding a single + * entry + * + * $Id: addgb.cpp 2833 2013-06-29 06:40:28Z chrislit $ + * + * Copyright 2002-2013 CrossWire Bible Society (http://www.crosswire.org) * CrossWire Bible Society * P. O. Box 2528 * Tempe, AZ 85280-2528 @@ -81,7 +87,7 @@ int main(int argc, char **argv) { // Do some initialization stuff TreeKeyIdx *treeKey = new TreeKeyIdx(argv[2]); - if (treeKey->Error()) { + if (treeKey->popError()) { treeKey->create(argv[2]); delete treeKey; treeKey = new TreeKeyIdx(argv[2]); |