Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/editors/fxite/files/patch-src_export.cpp
16461 views
1
--- src/export.cpp.orig 2013-10-03 09:22:51 UTC
2
+++ src/export.cpp
3
@@ -73,7 +73,7 @@ void SaveToHTML(SciDoc*sci, FILE *fp )
4
fprintf(fp, "<title>%s</title>\n", FXPath::name(sci->Filename()).text());
5
// Probably not used by robots, but making a little advertisement for those looking
6
// at the source code doesn't hurt...
7
- fputs("<meta name=\"Generator\" content=\""APP_NAME" HTML export\" />\n", fp);
8
+ fputs("<meta name=\"Generator\" content=\"" APP_NAME " HTML export\" />\n", fp);
9
if ( sci->sendMessage(SCI_GETCODEPAGE,0,0) == SC_CP_UTF8) {
10
fputs("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n", fp);
11
}
12
@@ -464,7 +464,7 @@ void SaveToPDF(SciDoc*sci, FILE *fp)
13
}
14
// start to write PDF file here (PDF1.4Ref(p63))
15
// ASCII>127 characters to indicate binary-possible stream
16
- oT->write("%PDF-1.3\n%�쏢\n");
17
+ oT->write("%PDF-1.3\n%\267\276\255\252\n");
18
styleCurrent = STYLE_DEFAULT;
19
20
// build objects for font resources; note that font objects are
21
22