diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-05-09 18:08:17 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-09 18:08:17 (GMT) |
commit | 2524750169d4436a206dfe18fdf15a066a7f4078 (patch) | |
tree | 6e4d89418a3f985081ae44b215ba2afbf67fe753 | |
parent | 02e750fc40afe0973a490ebe925d171a9fbd7048 (diff) | |
parent | 4b49842820ac3880162d835ddcde90b4859e8280 (diff) | |
download | Doxygen-2524750169d4436a206dfe18fdf15a066a7f4078.zip Doxygen-2524750169d4436a206dfe18fdf15a066a7f4078.tar.gz Doxygen-2524750169d4436a206dfe18fdf15a066a7f4078.tar.bz2 |
Merge pull request #7754 from albert-github/feature/issue_7753
issue #7753: SVG formula all with zero width
-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 2bb35c2..ca50c9c 100644 --- a/src/formula.cpp +++ b/src/formula.cpp @@ -100,10 +100,10 @@ void FormulaManager::readFormulas(const char *dir,bool doCompare) int w=-1,h=-1; if (ei!=-1 && ei>hi && ei<se) // new format { - int xi=formName.find('x',hi); + int xi=formName.find('x',ei); if (xi!=-1) { - w=formName.mid(hi+1,xi-hi-1).toInt(); + w=formName.mid(ei+1,xi-ei-1).toInt(); h=formName.mid(xi+1).toInt(); } formName = formName.left(ei); |