[sword-cvs] sword/examples/cmdline search.cpp,1.18,1.19
sword@www.crosswire.org
sword@www.crosswire.org
Tue, 13 Apr 2004 12:22:50 -0700
Update of /cvs/core/sword/examples/cmdline
In directory www:/tmp/cvs-serv11760
Modified Files:
search.cpp
Log Message:
Index: search.cpp
===================================================================
RCS file: /cvs/core/sword/examples/cmdline/search.cpp,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- search.cpp 10 Nov 2003 07:24:11 -0000 1.18
+++ search.cpp 13 Apr 2004 19:22:48 -0000 1.19
@@ -59,7 +59,7 @@
std::cout << "[0=================================50===============================100]\n ";
char lineLen = 70;
- listkey = target->Search(argv[2], -3, 0/*REG_ICASE*/, 0, 0, &percentUpdate, &lineLen);
+ listkey = target->Search(argv[2], -2, 0/*REG_ICASE*/, 0, 0, &percentUpdate, &lineLen);
std::cout << "\n";
while (!listkey.Error()) {
std::cout << (const char *)listkey << std::endl;