[sword-cvs] sword/apps/windoze swdisprtfchap.cpp,1.20,1.21
sword@www.crosswire.org
sword@www.crosswire.org
Sun, 22 Jun 2003 16:50:25 -0700
Update of /usr/local/cvsroot/sword/apps/windoze
In directory www:/tmp/cvs-serv6574/apps/windoze
Modified Files:
swdisprtfchap.cpp
Log Message:
RTF SelText bug fixes with added SetTextWide function
Memory leak in zstr flushCache fixed
empty popups supressed
Index: swdisprtfchap.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/apps/windoze/swdisprtfchap.cpp,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** swdisprtfchap.cpp 19 Jun 2003 16:58:30 -0000 1.20
--- swdisprtfchap.cpp 22 Jun 2003 23:50:23 -0000 1.21
***************
*** 109,117 ****
}
newtext += tmptext + RTFVersePost;
! newtext = newtext + RTFVerseMarkPre + IntToStr(key->Verse()) + RTFVerseMarkPost;
newtext = newtext + "\\par ";
}
else {
! newtext = newtext + RTFVerseMarkPre + IntToStr(key->Verse()) + RTFVerseMarkPost;
newtext = newtext + RTFVersePre;
if ((key->Verse() == verse) && (dispAttribs.markCurrentVerse)) {
--- 109,117 ----
}
newtext += tmptext + RTFVersePost;
! newtext = newtext + RTFVerseMarkPre + /*"<a href=\"\">" +*/ IntToStr(key->Verse()) /*+ "</a>"*/ + RTFVerseMarkPost;
newtext = newtext + "\\par ";
}
else {
! newtext = newtext + RTFVerseMarkPre + /*"<a href=\"\">" +*/ IntToStr(key->Verse()) /*+ "</a>"*/ + RTFVerseMarkPost;
newtext = newtext + RTFVersePre;
if ((key->Verse() == verse) && (dispAttribs.markCurrentVerse)) {