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