From 53cc170dbbe173b3870d9b0512070479da907532 Mon Sep 17 00:00:00 2001 From: albert-github Date: Wed, 22 Apr 2020 13:17:18 +0200 Subject: Wrong message in case of svg formulas for HTML (#7716) When we have set `HTML_FORMULA_FORMAT = svg` we still get the message: ``` Generating image form_0.png for formula ``` instead of ``` Generating image form_0.svg for formula ``` --- src/formula.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/formula.cpp b/src/formula.cpp index 8d1b0c0..6fd34e9 100644 --- a/src/formula.cpp +++ b/src/formula.cpp @@ -220,7 +220,7 @@ void FormulaManager::generateImages(const char *path,Format format,HighDPI hd) c int pageIndex=1; for (int pageNum : formulasToGenerate) { - msg("Generating image form_%d.png for formula\n",pageNum); + msg("Generating image form_%d.%s for formula\n",pageNum,(format==Format::Vector) ? "svg" : "png"); QCString formBase; formBase.sprintf("_form%d",pageNum); // run dvips to convert the page with number pageIndex to an -- cgit v0.12