[sword-svn] r2691 - trunk/src/modules/filters
scribe at crosswire.org
scribe at crosswire.org
Tue Mar 6 15:28:28 MST 2012
Author: scribe
Date: 2012-03-06 15:28:28 -0700 (Tue, 06 Mar 2012)
New Revision: 2691
Modified:
trunk/src/modules/filters/osisheadings.cpp
Log:
fixed a problem looking up x-preverse on container tag
Modified: trunk/src/modules/filters/osisheadings.cpp
===================================================================
--- trunk/src/modules/filters/osisheadings.cpp 2012-03-06 21:42:11 UTC (rev 2690)
+++ trunk/src/modules/filters/osisheadings.cpp 2012-03-06 22:28:28 UTC (rev 2691)
@@ -85,7 +85,7 @@
if (!u->depth-- || u->sID) {
// we've just finished a heading. It's all stored up in u->heading
bool canonical = (SWBuf("true") == u->currentHeadingTag.getAttribute("canonical"));
- bool preverse = (SWBuf("x-preverse") == tag.getAttribute("subType") || SWBuf("x-preverse") == tag.getAttribute("subtype"));
+ bool preverse = (SWBuf("x-preverse") == u->currentHeadingTag.getAttribute("subType") || SWBuf("x-preverse") == u->currentHeadingTag.getAttribute("subtype"));
// do we want to put anything in EntryAttributes?
if (u->module->isProcessEntryAttributes() && (option || canonical || !preverse)) {
More information about the sword-cvs
mailing list