[sword-cvs] sword/examples/cmdline search.cpp,1.16,1.17

sword@www.crosswire.org sword@www.crosswire.org
Sat, 30 Aug 2003 18:58:16 -0700


Update of /usr/local/cvsroot/sword/examples/cmdline
In directory www:/tmp/cvs-serv24365/examples/cmdline

Modified Files:
	search.cpp 
Log Message:



Index: search.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/examples/cmdline/search.cpp,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- search.cpp	29 Aug 2003 06:00:16 -0000	1.16
+++ search.cpp	31 Aug 2003 01:58:13 -0000	1.17
@@ -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;