From 5d00fa5862a1724bbe417e33d6c1a260607281ef Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Mon, 18 Aug 2014 11:24:42 +0200 Subject: Fixed typo and used QString for directory --- src/cite.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/cite.cpp b/src/cite.cpp index a1b964a..378e7ee 100644 --- a/src/cite.cpp +++ b/src/cite.cpp @@ -166,10 +166,9 @@ void CiteDict::generatePage() const f.close(); // 4. for all formats we just copy the bib files to as special output directory - // s bibtex can find them without path (bibtex doesn't support paths or + // so bibtex can find them without path (bibtex doesn't support paths or // filenames with spaces!) // Strictly not required when only latex is generated - // copy bib files to the latex output dir QStrList &citeDataList = Config_getList("CITE_BIB_FILES"); QCString bibOutputDir = outputDir+"/"+bibTmpDir; QCString bibOutputFiles = ""; @@ -198,7 +197,7 @@ void CiteDict::generatePage() const bibdata = citeDataList.next(); } - QCString oldDir = QDir::currentDirPath().utf8(); + QString oldDir = QDir::currentDirPath(); QDir::setCurrent(outputDir); // 5. run bib2xhtml perl script on the generated file which will insert the -- cgit v0.12