[sword-cvs] sword/src/modules/filters osisfootnotes.cpp,1.20,1.21
sword at www.crosswire.org
sword at www.crosswire.org
Wed May 19 14:25:22 MST 2004
Committed by: joachim
Update of /cvs/core/sword/src/modules/filters
In directory www:/tmp/cvs-serv4600/src/modules/filters
Modified Files:
osisfootnotes.cpp
Log Message:
fixed a crash
Index: osisfootnotes.cpp
===================================================================
RCS file: /cvs/core/sword/src/modules/filters/osisfootnotes.cpp,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- osisfootnotes.cpp 16 Apr 2004 20:10:33 -0000 1.20
+++ osisfootnotes.cpp 19 May 2004 21:25:20 -0000 1.21
@@ -76,7 +76,7 @@
tag = token;
if (!tag.isEndTag()) {
- if (!strcmp("strongsMarkup", tag.getAttribute("type"))) { // handle bug in KJV2003 module where some note open tags were <note ... />
+ if (tag.getAttribute("type") && !strcmp("strongsMarkup", tag.getAttribute("type"))) { // handle bug in KJV2003 module where some note open tags were <note ... />
tag.setEmpty(false);
}
if (!tag.isEmpty()) {
More information about the sword-cvs
mailing list