[sword-svn] r2741 - trunk/src/modules/filters
scribe at crosswire.org
scribe at crosswire.org
Sun Oct 7 10:29:36 MST 2012
Author: scribe
Date: 2012-10-07 10:29:36 -0700 (Sun, 07 Oct 2012)
New Revision: 2741
Modified:
trunk/src/modules/filters/osisheadings.cpp
Log:
Fixed processing multiple headings in same chunk
Modified: trunk/src/modules/filters/osisheadings.cpp
===================================================================
--- trunk/src/modules/filters/osisheadings.cpp 2012-09-30 17:45:06 UTC (rev 2740)
+++ trunk/src/modules/filters/osisheadings.cpp 2012-10-07 17:29:36 UTC (rev 2741)
@@ -47,6 +47,9 @@
int headerNum;
MyUserData(const SWModule *module, const SWKey *key) : BasicFilterUserData(module, key) {
+ clear();
+ }
+ void clear() {
currentHeadingName = "";
currentHeadingTag = "";
sID = 0;
@@ -105,6 +108,7 @@
buf.append(tag);
}
u->suspendTextPassThru = false;
+ u->clear();
}
}
else u->depth++;
More information about the sword-cvs
mailing list