[sword-cvs] sword/src/utilfuns utilxml.cpp,1.11,1.12

sword@www.crosswire.org sword@www.crosswire.org
Wed, 16 Jul 2003 18:08:06 -0700


Update of /usr/local/cvsroot/sword/src/utilfuns
In directory www:/tmp/cvs-serv11419/src/utilfuns

Modified Files:
	utilxml.cpp 
Log Message:


Index: utilxml.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/src/utilfuns/utilxml.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- utilxml.cpp	16 Jul 2003 02:22:32 -0000	1.11
+++ utilxml.cpp	17 Jul 2003 01:08:04 -0000	1.12
@@ -13,10 +13,7 @@
 	for (i = 0; ((buf[i]) && (!isalpha(buf[i]))); i++);
 	for (; buf[i]; i++) {
 		if (buf[i] == ' ') {
-			for (; ((buf[i]) && (!isalpha(buf[i]))); i++) {
-				if (buf[i] == '/')
-					empty = true;
-			}
+			for (; ((buf[i]) && (!isalpha(buf[i]))); i++);
 			if (buf[i]) {		// we have an attribute name
 				start = i;
 				for (; ((buf[i]) && (!strchr(" =", buf[i]))); i++);