[sword-svn] r2106 - trunk/src/modules

scribe at www.crosswire.org scribe at www.crosswire.org
Thu Oct 11 18:01:40 MST 2007


Author: scribe
Date: 2007-10-11 18:01:40 -0700 (Thu, 11 Oct 2007)
New Revision: 2106

Modified:
   trunk/src/modules/swmodule.cpp
Log:
Updated scope of stricmp for BCB

Modified: trunk/src/modules/swmodule.cpp
===================================================================
--- trunk/src/modules/swmodule.cpp	2007-10-11 20:59:14 UTC (rev 2105)
+++ trunk/src/modules/swmodule.cpp	2007-10-12 01:01:40 UTC (rev 2106)
@@ -730,7 +730,7 @@
 						for (;i3Start != i3End; i3Start++) {
 							if ((words.size()>3) && (words[3].length())) {
 								if (flags & SEARCHFLAG_MATCHWHOLEENTRY) {
-									bool found = !(((flags & REG_ICASE) == REG_ICASE) ? stricmp(i3Start->second.c_str(), words[3]) : strcmp(i3Start->second.c_str(), words[3]));
+									bool found = !(((flags & REG_ICASE) == REG_ICASE) ? sword::stricmp(i3Start->second.c_str(), words[3]) : strcmp(i3Start->second.c_str(), words[3]));
 									sres = (found) ? i3Start->second.c_str() : 0;
 								}
 								else {




More information about the sword-cvs mailing list