diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2021-03-24 19:34:50 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2021-03-24 19:34:50 (GMT) |
commit | 3a365ab230cab40910366eee5352534719541598 (patch) | |
tree | f0d5b60a05af6f1a440f02098951db6eca6a0fc0 /src/formula.cpp | |
parent | b4d7ed48ba6b44d5269fd69517535b4b91eb3f8a (diff) | |
download | Doxygen-3a365ab230cab40910366eee5352534719541598.zip Doxygen-3a365ab230cab40910366eee5352534719541598.tar.gz Doxygen-3a365ab230cab40910366eee5352534719541598.tar.bz2 |
issue #8375 Lowercase search does not find non-ASCII uppercase pages and vice versa (part 2)
Diffstat (limited to 'src/formula.cpp')
-rw-r--r-- | src/formula.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/formula.cpp b/src/formula.cpp index 1237fbd..c08e9be 100644 --- a/src/formula.cpp +++ b/src/formula.cpp @@ -349,7 +349,7 @@ void FormulaManager::generateImages(const char *path,Format format,HighDPI hd) c // read back %s_tmp.eps and replace // bounding box values with x1,y1,x2,y2 and remove the HiResBoundingBox std::ifstream epsIn(formBase.str()+"_tmp.eps",std::ifstream::in); - std::ofstream epsOut(formBase.str()+"_tmp_corr.eps",std::ofstream::out); + std::ofstream epsOut(formBase.str()+"_tmp_corr.eps",std::ofstream::out | std::ofstream::binary); if (epsIn.is_open() && epsOut.is_open()) { std::string line; @@ -427,7 +427,7 @@ void FormulaManager::generateImages(const char *path,Format format,HighDPI hd) c // generated images represent (we use this next time to avoid regeneration // of the images, and to avoid forcing the user to delete all images in order // to let a browser refresh the images). - t.open("formula.repository",std::ofstream::out); + t.open("formula.repository",std::ofstream::out | std::ofstream::binary); if (t.is_open()) { for (int i=0; i<(int)p->formulas.size(); i++) |