[sword-svn] r1874 - trunk/src/modules/texts/ztext
jansorg at crosswire.org
jansorg at crosswire.org
Wed Dec 21 16:14:09 MST 2005
Author: jansorg
Date: 2005-12-21 16:14:00 -0700 (Wed, 21 Dec 2005)
New Revision: 1874
Modified:
trunk/src/modules/texts/ztext/ztext.cpp
Log:
Fix to allow zText to be writable by default. Otherwise osis2mod can't create modules. If this is a wrong fix please tell me to remove it again. Together with the right fix =) (jansorg)
Modified: trunk/src/modules/texts/ztext/ztext.cpp
===================================================================
--- trunk/src/modules/texts/ztext/ztext.cpp 2005-12-21 18:22:27 UTC (rev 1873)
+++ trunk/src/modules/texts/ztext/ztext.cpp 2005-12-21 23:14:00 UTC (rev 1874)
@@ -30,7 +30,7 @@
*/
zText::zText(const char *ipath, const char *iname, const char *idesc, int iblockType, SWCompress *icomp, SWDisplay *idisp, SWTextEncoding enc, SWTextDirection dir, SWTextMarkup mark, const char* ilang)
- : zVerse(ipath, -1, iblockType, icomp), SWText(iname, idesc, idisp, enc, dir, mark, ilang) {
+ : zVerse(ipath, FileMgr::RDWR, iblockType, icomp), SWText(iname, idesc, idisp, enc, dir, mark, ilang) {
blockType = iblockType;
lastWriteKey = 0;
}
More information about the sword-cvs
mailing list