FreeBSD Bugzilla – Attachment 180662 Details for
Bug 216197
graphics/cuneiform: fails to build with clang 4.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch-ced__func__rtf.cpp
patch-ced__func__rtf.cpp (text/plain), 864 bytes, created by
Walter Schwarzenfeld
on 2017-03-09 04:28:19 UTC
(
hide
)
Description:
patch-ced__func__rtf.cpp
Filename:
MIME Type:
Creator:
Walter Schwarzenfeld
Created:
2017-03-09 04:28:19 UTC
Size:
864 bytes
patch
obsolete
>--- cuneiform_src/Kern/ced/sources/main/ced_func_rtf.cpp.orig 2017-03-09 03:24:43 UTC >+++ cuneiform_src/Kern/ced/sources/main/ced_func_rtf.cpp >@@ -212,7 +212,7 @@ Bool32 CEDPage::FormattedWriteRtf(const > } > */ > // write the text lines >- for (;sect>0;sect=sect->next) >+ for (;sect !=NULL ;sect=sect->next) > { > if (!WriteRtfSection(rtf,sect)) goto WRITE_END; //write section properties > // int sectNum=0; >@@ -897,7 +897,7 @@ Bool WriteRtfCharFmt(struct StrRtfOut fa > // if (curChar->fontNum>=rtf->page->fontsUsed || (prevChar&&prevChar->fontNum>=rtf->page->fontsUsed)) return TRUE; > > // extract value for comparison >- if (prevChar>0) { >+ if (prevChar != NULL) { > // lstrcpy(PrevTypeFace,TerFont[PrevFont].TypeFace); > PrevFamily=rtf->table[rtf->page->GetFontByNum(prevChar->fontNum)]; > PrevStyle=prevChar->fontAttribs;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 216197
:
180662