summaryrefslogtreecommitdiffstats
path: root/src/rtfgen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rtfgen.cpp')
-rw-r--r--src/rtfgen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtfgen.cpp b/src/rtfgen.cpp
index 63e6377..49e97f2 100644
--- a/src/rtfgen.cpp
+++ b/src/rtfgen.cpp
@@ -2602,7 +2602,7 @@ bool RTFGenerator::preProcessFileInplace(const char *path,const char *name)
QCString combinedName = (QCString)path+"/combined.rtf";
QCString mainRTFName = (QCString)path+"/"+name;
- std::ofstream outt(combinedName.str(),std::ofstream::out);
+ std::ofstream outt(combinedName.str(),std::ofstream::out | std::ofstream::binary);
if (!outt.is_open())
{
err("Failed to open %s for writing!\n",combinedName.data());