Skip to content

Commit

Permalink
Fixed typo and used QString for directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri van Heesch committed Aug 18, 2014
1 parent 4518e53 commit 5d00fa5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/cite.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "";
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5d00fa5

Please sign in to comment.