[sword-svn] r2421 - trunk/utilities
dmsmith at crosswire.org
dmsmith at crosswire.org
Sat May 30 20:27:53 MST 2009
Author: dmsmith
Date: 2009-05-30 20:27:53 -0700 (Sat, 30 May 2009)
New Revision: 2421
Modified:
trunk/utilities/osis2mod.cpp
Log:
revert sID/eID pairing for pre-verse to Ben's code
Modified: trunk/utilities/osis2mod.cpp
===================================================================
--- trunk/utilities/osis2mod.cpp 2009-05-28 01:46:42 UTC (rev 2420)
+++ trunk/utilities/osis2mod.cpp 2009-05-31 03:27:53 UTC (rev 2421)
@@ -758,7 +758,7 @@
// Did we have pre-verse material that needs to be marked?
if (inPreVerse) {
char genBuf[200];
- sprintf(genBuf, "<div type=\"x-milestone\" subType=\"x-preverse\" eID=\"pv%d\"/>", genID);
+ sprintf(genBuf, "<div type=\"x-milestone\" subType=\"x-preverse\" eID=\"pv%d\"/>", genID++);
text.append(genBuf);
}
@@ -900,7 +900,7 @@
if (inPreVerse) {
char genBuf[200];
- sprintf(genBuf, "<div type=\"x-milestone\" subType=\"x-preverse\" sID=\"pv%d\"/>", genID++);
+ sprintf(genBuf, "<div type=\"x-milestone\" subType=\"x-preverse\" sID=\"pv%d\"/>", genID);
text.append(genBuf);
}
}
More information about the sword-cvs
mailing list