summaryrefslogtreecommitdiff
path: root/utilities/addgb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utilities/addgb.cpp')
-rw-r--r--utilities/addgb.cpp12
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]);