View | Details | Raw Unified | Return to bug 216197
Collapse All | Expand All

(-)cuneiform_src/Kern/ced/sources/main/ced_func_rtf.cpp (-2 / +2 lines)
Lines 212-218 Bool32 CEDPage::FormattedWriteRtf(const Link Here
212
    }
212
    }
213
*/
213
*/
214
    // write the text lines
214
    // write the text lines
215
	for (;sect>0;sect=sect->next)
215
	for (;sect !=NULL ;sect=sect->next)
216
	{
216
	{
217
		if (!WriteRtfSection(rtf,sect)) goto WRITE_END; //write section properties
217
		if (!WriteRtfSection(rtf,sect)) goto WRITE_END; //write section properties
218
		//	int sectNum=0;
218
		//	int sectNum=0;
Lines 897-903 Bool WriteRtfCharFmt(struct StrRtfOut fa Link Here
897
//    if (curChar->fontNum>=rtf->page->fontsUsed || (prevChar&&prevChar->fontNum>=rtf->page->fontsUsed)) return TRUE;
897
//    if (curChar->fontNum>=rtf->page->fontsUsed || (prevChar&&prevChar->fontNum>=rtf->page->fontsUsed)) return TRUE;
898
898
899
    // extract value for comparison
899
    // extract value for comparison
900
    if (prevChar>0) {
900
    if (prevChar != NULL) {
901
//       lstrcpy(PrevTypeFace,TerFont[PrevFont].TypeFace);
901
//       lstrcpy(PrevTypeFace,TerFont[PrevFont].TypeFace);
902
       PrevFamily=rtf->table[rtf->page->GetFontByNum(prevChar->fontNum)];
902
       PrevFamily=rtf->table[rtf->page->GetFontByNum(prevChar->fontNum)];
903
       PrevStyle=prevChar->fontAttribs;
903
       PrevStyle=prevChar->fontAttribs;

Return to bug 216197