summaryrefslogtreecommitdiff
path: root/utilities/imp2gbs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utilities/imp2gbs.cpp')
-rw-r--r--utilities/imp2gbs.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/utilities/imp2gbs.cpp b/utilities/imp2gbs.cpp
index dde871f..3c422a4 100644
--- a/utilities/imp2gbs.cpp
+++ b/utilities/imp2gbs.cpp
@@ -2,7 +2,7 @@
*
* imp2gbs.cpp - Utility to import GenBooks in IMP format
*
- * $Id: imp2gbs.cpp 2980 2013-09-14 21:51:47Z scribe $
+ * $Id: imp2gbs.cpp 3403 2016-02-09 16:53:41Z dmsmith $
*
* Copyright 2002-2013 CrossWire Bible Society (http://www.crosswire.org)
* CrossWire Bible Society
@@ -126,7 +126,7 @@ void parseParams(int argc, char **argv) {
outPath.size(i);
}
}
-
+
void writeEntry(SWModule *book, SWBuf keyBuffer, SWBuf entBuffer) {
@@ -222,22 +222,22 @@ void writeEntry(SWModule *book, SWBuf keyBuffer, SWBuf entBuffer) {
int main(int argc, char **argv) {
greekAccentsFilter.setOptionValue("Off"); // off = accents off
parseParams(argc, argv);
-
+
// Let's see if we can open our input file
FileDesc *fd = FileMgr::getSystemFileMgr()->open(inFile, FileMgr::RDONLY);
if (fd->getFd() < 0) {
fprintf(stderr, "error: %s: couldn't open input file: %s \n", argv[0], inFile.c_str());
exit(-2);
}
-
+
RawGenBook *book;
-
+
// Do some initialization stuff
if (!augMod) {
RawGenBook::createModule(outPath);
}
book = new RawGenBook(outPath);
-
+
SWBuf lineBuffer;
SWBuf keyBuffer;
SWBuf entBuffer;