diff options
Diffstat (limited to 'src/rtfgen.cpp')
-rw-r--r-- | src/rtfgen.cpp | 2 |
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()); |