Skip to content

Commit

Permalink
On windows citelist.doc remains
Browse files Browse the repository at this point in the history
On windows the file citelist.doc is not removed as it is not closed. This patch closes the file.
  • Loading branch information
albert-github committed Feb 9, 2014
1 parent 2a9ddad commit 3c941f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cite.cpp
Expand Up @@ -239,6 +239,7 @@ void CiteDict::generatePage() const
QFileInfo fi(citeListFile);
QCString input(fi.size()+1);
f.readBlock(input.data(),fi.size());
f.close();
input.at(fi.size())='\0';
int p=0,s;
//printf("input=[%s]\n",input.data());
Expand Down

0 comments on commit 3c941f2

Please sign in to comment.