[sword-cvs] sword/src/modules/filters osisstrongs.cpp,1.14,1.15

sword@www.crosswire.org sword@www.crosswire.org
Sun, 4 Apr 2004 02:24:00 -0700


Update of /cvs/core/sword/src/modules/filters
In directory www:/tmp/cvs-serv2239/src/modules/filters

Modified Files:
	osisstrongs.cpp 
Log Message:
no message

Index: osisstrongs.cpp
===================================================================
RCS file: /cvs/core/sword/src/modules/filters/osisstrongs.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- osisstrongs.cpp	14 Mar 2004 00:10:27 -0000	1.14
+++ osisstrongs.cpp	4 Apr 2004 09:23:57 -0000	1.15
@@ -86,11 +86,11 @@
 							
 							//now try to find the end tag to get the text between <w> and </w> to set the entry attribute
 							
-							char* startTagEnd = strstr(from, ">"); //end of the opening tag
+							const char* startTagEnd = strstr(from, ">"); //end of the opening tag
 							if (startTagEnd) {
 								startTagEnd++;
 								
-								char* endTagStart = strstr(startTagEnd, "</w>"); //end of the opening tag
+								const char* endTagStart = strstr(startTagEnd, "</w>"); //end of the opening tag
 								if (endTagStart && endTagStart > startTagEnd) { //content in between
 									SWBuf tmp;
 									tmp.append(startTagEnd, endTagStart - startTagEnd);