[sword-svn] r3334 - trunk/src/modules/filters
scribe at crosswire.org
scribe at crosswire.org
Thu Mar 12 01:58:37 MST 2015
Author: scribe
Date: 2015-03-12 01:58:36 -0700 (Thu, 12 Mar 2015)
New Revision: 3334
Modified:
trunk/src/modules/filters/osisplain.cpp
Log:
fixed to safety check correct pointer
Modified: trunk/src/modules/filters/osisplain.cpp
===================================================================
--- trunk/src/modules/filters/osisplain.cpp 2015-03-12 08:51:44 UTC (rev 3333)
+++ trunk/src/modules/filters/osisplain.cpp 2015-03-12 08:58:36 UTC (rev 3334)
@@ -170,7 +170,7 @@
buf.append(" [");
}
else u->suspendTextPassThru = true;
- if (u) {
+ if (u->module) {
XMLTag tag = token;
SWBuf swordFootnote = tag.getAttribute("swordFootnote");
SWBuf footnoteBody = u->module->getEntryAttributes()["Footnote"][swordFootnote]["body"];
More information about the sword-cvs
mailing list