summaryrefslogtreecommitdiff
path: root/utilities/txt2sword.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utilities/txt2sword.cpp')
-rw-r--r--utilities/txt2sword.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/utilities/txt2sword.cpp b/utilities/txt2sword.cpp
index 5528905..1e37c72 100644
--- a/utilities/txt2sword.cpp
+++ b/utilities/txt2sword.cpp
@@ -5,7 +5,12 @@
#include <ctype.h>
#include <versekey.h>
#include <sys/stat.h>
-#include <iostream.h>
+#include <iostream>
+
+#ifndef NO_SWORD_NAMESPACE
+using sword::VerseKey;
+#endif
+
const long MAXVLEN = 8192;
int fp, vfp, cfp, bfp, dfp;
@@ -146,7 +151,7 @@ char getVerse(int fp, int *verseNum, char *verseBuf, char testament)
else
break;
}
- cout << tvn << " ";
+ std::cout << tvn << " ";
*verseNum = tvn;
while (1) {
@@ -158,7 +163,7 @@ char getVerse(int fp, int *verseNum, char *verseBuf, char testament)
}
strcat (verseBuf, "\n");
- cout << verseBuf;
+ std::cout << verseBuf;
if (retVal)
retVal = 0;