diff options
Diffstat (limited to 'editors/fxite/files/patch-src_export.cpp')
-rw-r--r-- | editors/fxite/files/patch-src_export.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/editors/fxite/files/patch-src_export.cpp b/editors/fxite/files/patch-src_export.cpp index 9ab9a02b96a4..81c563a706d7 100644 --- a/editors/fxite/files/patch-src_export.cpp +++ b/editors/fxite/files/patch-src_export.cpp @@ -1,5 +1,14 @@ --- src/export.cpp.orig 2013-10-03 09:22:51 UTC +++ src/export.cpp +@@ -73,7 +73,7 @@ void SaveToHTML(SciDoc*sci, FILE *fp ) + fprintf(fp, "<title>%s</title>\n", FXPath::name(sci->Filename()).text()); + // Probably not used by robots, but making a little advertisement for those looking + // at the source code doesn't hurt... +- fputs("<meta name=\"Generator\" content=\""APP_NAME" HTML export\" />\n", fp); ++ fputs("<meta name=\"Generator\" content=\"" APP_NAME " HTML export\" />\n", fp); + if ( sci->sendMessage(SCI_GETCODEPAGE,0,0) == SC_CP_UTF8) { + fputs("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n", fp); + } @@ -464,7 +464,7 @@ void SaveToPDF(SciDoc*sci, FILE *fp) } // start to write PDF file here (PDF1.4Ref(p63)) |