[sword-cvs] sword/apps/windoze swdisprtf.cpp,1.15,1.16
sword@www.crosswire.org
sword@www.crosswire.org
Sun, 30 Mar 2003 16:19:22 -0700
- Previous message: [sword-cvs] sword/apps/windoze/CBuilder5/BibleCS RxRichEditX.cpp,1.40,1.41 RxRichEditX.h,1.14,1.15 editentryfrm.cpp,1.11,1.12 editentryfrm.dfm,1.9,1.10 editentryfrm.h,1.5,1.6 mainfrm.cpp,1.109,1.110 mainfrm.dfm,1.40,1.41 mainfrm.h,1.43,1.44 optionfrm.cpp,1.33,1.34 optionfrm.dfm,1.50,1.51 optionfrm.h,1.21,1.22 searchfrm.cpp,1.40,1.41
- Next message: [sword-cvs] sword/include swbuf.h,1.10,1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/local/cvsroot/sword/apps/windoze
In directory www:/tmp/cvs-serv2857/apps/windoze
Modified Files:
swdisprtf.cpp
Log Message:
no message
Index: swdisprtf.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/apps/windoze/swdisprtf.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** swdisprtf.cpp 16 Sep 2002 22:52:26 -0000 1.15
--- swdisprtf.cpp 30 Mar 2003 23:19:20 -0000 1.16
***************
*** 50,54 ****
System::AnsiString newtext, tmptext;
static UnicodeRTF filter;
! char buf[255];
module = &Module;
--- 50,54 ----
System::AnsiString newtext, tmptext;
static UnicodeRTF filter;
! SWBuf buf;
module = &Module;
***************
*** 62,73 ****
newtext = newtext + "\\pard \\nowidctlpar \\cf7\\f0 ";
(const char *)Module; // force key to snap to entry before pulling out the text of the key
! strcpy(buf, Module.KeyText());
SWKey *key = Module;
// VerseKey locales are not yet UTF8, so don't try to convert them.
if (!SWDYNAMIC_CAST(VerseKey, key))
! filter.ProcessText(buf, 253, Module, &Module);
! newtext = newtext + RTFHeadingPre + buf + RTFHeadingPost + ":{\\par}";
tmptext = "";
--- 62,73 ----
newtext = newtext + "\\pard \\nowidctlpar \\cf7\\f0 ";
(const char *)Module; // force key to snap to entry before pulling out the text of the key
! buf = Module.KeyText();
SWKey *key = Module;
// VerseKey locales are not yet UTF8, so don't try to convert them.
if (!SWDYNAMIC_CAST(VerseKey, key))
! filter.processText(buf, Module, &Module);
! newtext = newtext + RTFHeadingPre + buf.c_str() + RTFHeadingPost + ":{\\par}";
tmptext = "";
- Previous message: [sword-cvs] sword/apps/windoze/CBuilder5/BibleCS RxRichEditX.cpp,1.40,1.41 RxRichEditX.h,1.14,1.15 editentryfrm.cpp,1.11,1.12 editentryfrm.dfm,1.9,1.10 editentryfrm.h,1.5,1.6 mainfrm.cpp,1.109,1.110 mainfrm.dfm,1.40,1.41 mainfrm.h,1.43,1.44 optionfrm.cpp,1.33,1.34 optionfrm.dfm,1.50,1.51 optionfrm.h,1.21,1.22 searchfrm.cpp,1.40,1.41
- Next message: [sword-cvs] sword/include swbuf.h,1.10,1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]